I've never come across this problem before myself, but a quick scan of the DBI documentation reveals this:
By default, LongTruncOk is false and so fetching a long value that needs to be truncated will cause the fetch to fail. (Applications should always be sure to check for errors after a fetch loop in case an error, such as a divide by zero or long field truncation, caused the fetch to terminate prematurely.)
Hopefully that'll set you on the right path.
Update: A couple more things: here's the DBI documentation, and also a guide on how to read the friendly manual.
In reply to Re: Getting error when selecting from database
by DamnDirtyApe
in thread Getting error when selecting from database
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |