标签:
select name from sysobjects where xtype in (‘U‘,‘V‘) select name = s.name +‘.‘+ t.name from sys.tables t , sys.schemas s where t.schema_id = s.schema_id
获取数据库表和视图
原文地址:http://www.cnblogs.com/baisoft/p/5906234.html