Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How to map the coloumn type integers to names in DBI

by gmargo (Hermit)
on Dec 29, 2009 at 12:47 UTC ( [id://814746]=note: print w/replies, xml ) Need Help??


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
    Thanks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found