Easysoft Data Access

Why do I keep getting data truncated errors in my Perl?

Last Reviewed:
2nd January 2024

If you are getting truncation errors when retrieving data for a column, check what sort of column it is. Perl DBI needs to be told about long columns or the data will be truncated. You can do this just after a DBI->connect call with:

$dbh->{LongReadLen} = 32768; # an example big number
Applies To

Knowledge Base Feedback

* Did this content help you?
* Please select one option based on your first choice:

(* Required Fields)