日期:2014-05-17 浏览次数:20749 次
select s.[name] from sys.tables as t join sys.schemas as s on t.schema_id = s.schema_id where t.[name] = '表名'
select schema_name([schema_id]) 'schema' from sys.objects where type='U' and name='[表名]'