Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: field lengths of database tables

by dbwiz (Curate)
on Apr 20, 2005 at 07:33 UTC ( [id://449514]=note: print w/replies, xml ) Need Help??


in reply to field lengths of database tables

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}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://449514]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found