Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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 (Scribe) 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?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://449522]
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: (1)
As of 2021-10-17 05:56 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (71 votes). Check out past polls.