Subject: | DBI::db::column_info returns wrong column_size |
Hi,
I have run into this interesting SQL tidbit when I traced a $dbh->column_info call from my script.
in the decode section that determines the column_size of a column of type NUMBER, if a NUMBER's data_precision is null then column_size gets a harcoded default of 38
In case of NUMBER would it not be better to use DATA_LENGTH which has the correct COLUMN_SIZE?
Ciao
Stefano