The data type for at least one field is too small for the data you're trying to import. In your code, verify the data type (and length) with the data you're trying to import before you attempt to insert it.
On a side note, why aren't you just using bcp to import your csv file? Insert statements are far slower than bcp.
Jason L. Froebe
Tech BlogIn reply to Re: DBD::ODBC insert first line, but not line 2
by jfroebe
in thread DBD::ODBC insert first line, but not line 2
by ksublondie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |