List Schema Name and Table Name for Database

SQL Server: List schema name and table name

Select quotename(SCHEMA_NAME(SCHEMA_ID)) + '.' + QUOTENAME(name)
AS SchemaTable
From sys.tables

 

 

posted on 2013-07-12 18:20  百花宫  阅读(184)  评论(0编辑  收藏  举报