MySQL Forums
Forum List  »  Microsoft SQL Server

Re: "SHOW Columns FROM table" in MSSQL?
Posted by: Roland Bouman
Date: March 23, 2006 08:27AM

just do a select on the information_schema.COLUMNS table:

select column_name
from <dbname>.information_schema.columns
where table_name = '<tablename>'

see: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_ia-iz_4pbn.asp

Options: ReplyQuote


Subject
Written By
Posted
Re: "SHOW Columns FROM table" in MSSQL?
March 23, 2006 08:27AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.