http://qs321.pair.com?node_id=449522


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'.