Home Forums SQL Server 2008 SQL Server 2008 - General SQL to list the headers in a table? RE: SQL to list the headers in a table?
Randy Doub
SSCertifiable
Points: 5322
More actions
November 23, 2011 at 12:52 pm
#1412435
For a single table:
select * from table where 1=2
Lists just the column names in the result panel. Is that what you meant by headers?