exec sp_MShelpcolumns N'[dbo].[tableName]'
exec sp_MStablekeys N'[dbo].[tableName]'
-----Original Message-----
From: Gaurav Vrati Noida [mailto:mssqldba-ezmlmshield-x22506100.[Email address protected]
Sent: Monday, November 29, 2004 11:17 AM
To: LazyDBA Discussion
Subject: Query for Columns in a Table[Scanned]
Hi I want a query by which I can get the columns in a table.
Regards
Gaurav
---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
Website : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
For additional commands, e-mail: mssqldba-[Email address protected]
MS Sql Server LazyDBA home page