Perl Monk, Perl Meditation | |
PerlMonks |
Re: field lengths of database tablesby dbwiz (Curate) |
on Apr 20, 2005 at 07:33 UTC ( [id://449514]=note: print w/replies, xml ) | Need Help?? |
Instead of SCALE, use PRECISION. Check the DBI docs for some caveats about its applicability with numerical types. To get reliable results, you should use $sth->{PRECISION} in coordination with the values of $sth->{TYPE}
In Section
Seekers of Perl Wisdom
|
|