|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: What is similar in mssql to $dbh->listfields($tbl) in mysqlby gellyfish (Monsignor) |
| on Oct 24, 2006 at 11:53 UTC ( #580248=note: print w/ replies, xml ) | Need Help?? |
|
You can use the following query to get the columns in a table from MS SQL Server: (you supply the table name as the argument to execute to provide the data for the placeholder. Alternatively you can use the INFORMATION_SCHEMA view which basically does the same thing:
/J\
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||