in reply to Field names from DBI?
For other database maybe it will be the same$sth = $dbh->prepare($query) or die "Prepare exceptioin: $DBI::errs +tr!"; $rv = $sth->execute() or die "Execute exception: $DBI::errstr"; $res = $sth->fetchall_arrayref(); # Array reference with cols captions, which were retrived. $names = $sth->{NAME}; # Array reference with types of cols, which were retrived + $types = $sth->{TYPE}; $sth->finish();
--------------------------------
SV* sv_bless(SV* sv, HV* stash);
|
|---|