After you execute the statement, the statement handle should contain a NAME attribute. This is a reference to an array containing the names of the columns returned. $sth->{NAME}[$i] will give you the name of column $i. See perldoc DBI.
| 90% of every Perl application is already written. ⇒ |
| dragonchild |
In reply to Re: Perl::DBI - return column header
by pfaut
in thread Perl::DBI - return column header
by iphony
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |