in reply to How to map the coloumn type integers to names in DBI

Hello, I found following in DBI docs:
@names = map { scalar $dbh->type_info($_)->{TYPE_NAME} } @{ $sth->{TYP +E} }
Did not try it myself, though.

-- Roman

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:01 UTC
    It works, thanks, I think it's time for me to read the DBI document more carefully:)