[Pdx-pm] $dbh->{LongReadLen}

Stephen Wickman wickman at halfangle.com
Thu May 31 12:56:16 PDT 2007

Anyone know the fuzzy math to capture the data in long varchar 2000000000 column?
Setting $dbh->{LongReadLen} = $dbh->selectrow_array(qq(select length(col) from tbl)) doesn't quite suffice. Per "Programming the DBI", there is some addl overhead, but I'd prefer numbers in lieu of "slightly more than the length of the longest column".
--thx, Steve

More information about the Pdx-pm-list mailing list