in reply to How to map the coloumn type integers to names in DBI
I had to get the TYPE info from the statment handle before calling $sth->finish();.
Also from the DBI documentation: how to get the SQL names for those data type integers:
{ no strict 'refs'; foreach (@{ $DBI::EXPORT_TAGS{sql_types} }) { printf "%s=%d\n", $_, &{"DBI::$_"}; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to map the coloumn type integers to names in DBI
by littlehorse (Sexton) on Dec 30, 2009 at 02:27 UTC |