Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 having an uproarious good time at the Monastery: (5)
As of 2014-10-02 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (67 votes), past polls