Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: field lengths of database tables

by dbwiz (Curate)
on Apr 20, 2005 at 07:33 UTC ( #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}


Comment on Re: field lengths of database tables
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-09-20 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls