SQL Server Tips
Tuesday, 23 June 2015
List Schema Name and Table Name for Database
List Schema Name and Table Name for Database
SELECT '['+SCHEMA_NAME(schema_id)+'].['+name+']'
AS SchemaTable
FROM sys.tables
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment