Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- USE <DBNAME>;
- SELECT s.NAME + '.' + t.NAME AS TableName
- FROM sys.TABLES t
- INNER JOIN sys.schemas s
- ON t.schema_id = s.schema_id ORDER BY TableName
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement