http://qs321.pair.com?node_id=580262


in reply to What is similar in mssql to $dbh->listfields($tbl) in mysql

You can also work with the column_info method of DBI.