I am using the spreadsheet parse module and below is a sample
of the output from the script. Can anybody tell me how to create
and insert SQL statement out of this? It would be going into table
that is already created. The numbers in parens - the left one
is the file number and the right one is the column heading from
the spreadsheet - Thanks!!!
( 169 , 0 ) =>0000000000010173A001 ( 169 , 1 ) =>A ( 169 , 2 ) =>The Tigress ( 169 , 3 ) =>The Tigress ( 169 , 4 ) =>TIGRESS, THE (aka: Die Tigerin) ( 169 , 5 ) => ( 169 , 6 ) => ( 169 , 7 ) =>Yes ( 169 , 8 ) => ( 169 , 9 ) =>http://www.blockbuster.com/mv/detail.jhtml?PRODID=171427 +&CATID=1050 ( 169 , 10 ) =>Action ( 169 , 11 ) =>Karin Howard ( 169 , 12 ) =>Andreas Grothusen ( 169 , 13 ) =>H. Jaenicke ( 169 , 14 ) => ( 169 , 15 ) => ( 169 , 16 ) => ( 169 , 17 ) =>R ( 169 , 18 ) => ( 169 , 19 ) =>1992 ( 169 , 20 ) =>0000000000010173J001.jpg ( 169 , 21 ) => ( 169 , 22 ) =>Berlin, 1920s, a couple tries to blackmail an American +businessman, but nothing goes according to their plans. ( 169 , 23 ) => ( 169 , 24 ) =>In this tale of blackmail, passion and deception, Valen +tina Vargas, Georg Tryphon, James Remar and George Peppard star. In B +erlin in the 1920s, a couple lays a careful plan to blackmail an Amer +ican businessman. But the duo end up with a horrible mess on their ha +nds when no one behaves according to plan. ( 169 , 25 ) =>4.99 ( 169 , 26 ) =>24 ( 169 , 27 ) =>2000-12-01T00:00:01 ( 169 , 28 ) =>2002-10-15T23:59:59 ( 169 , 29 ) =>5 ( 169 , 30 ) => ( 169 , 31 ) =>0000000000010173A001 ( 169 , 32 ) => ( 169 , 33 ) => ( 169 , 34 ) => ( 169 , 35 ) => ( 169 , 36 ) =>CinemaNow ( 169 , 37 ) => ( 169 , 38 ) => ( 169 , 39 ) => ( 169 , 40 ) => ( 169 , 41 ) => ( 170 , 20 ) =>

In reply to creating a SQL statement from an array by JSchmitz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.