You don't say what type of column NOTES is, but if it's potentially large (like a BLOB, (LONG)TEXT or MEMO field) then you need to play with DBI->connect's LongTruncOk and/or LongReadLen attributes.
$dbh = DBI->connect( 'dbi:ODBC:StockDB', '', '', { LongTruncOk => 1, LongReadLen => 1024 * 64, # 64K }, ) || ...
--k.
In reply to Re: Getting error when selecting from database
by Kanji
in thread Getting error when selecting from database
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |