Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: field lengths of database tables

by Anonymous Monk
on Apr 20, 2005 at 07:50 UTC ( #449522=note: print w/replies, xml ) Need Help??


in reply to field lengths of database tables

SCALE isn't documented in DBD::mysql, try LENGTH

Replies are listed 'Best First'.
Re^2: field lengths of database tables
by tomgracey (Beadle) on Apr 20, 2005 at 08:29 UTC

    Thanks for the info dbwiz... You're right the array does fill up properly when I use PRECISION, though it does look like a bit of added work is necessary to get the data in the right format. I take it theres no way around this then?

    BTW Anonymous Monk, I couldn't get LENGTH to work at all, the program just falls over saying 'unrecognised attribute'.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2021-01-27 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?