Manish - Database Specialist
Wednesday, October 10, 2012
Get All Tables & Its Column Name of a DB
select T2.name as 'TableName',T1.name as 'ColumnName' from sys.columns T1 inner join sys.tables T2 on (T1.object_id = T2.object_id) order by TableName
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment