in reply to DBD::ODBC insert first line, but not line 2
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 Blog
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: DBD::ODBC insert first line, but not line 2
by ksublondie (Friar) on Oct 06, 2015 at 20:11 UTC |
In Section
Seekers of Perl Wisdom