sqlserver 2005 怎么得到所有的用户表名 并返回一个集合? 我用了sp_tables 没有返回任何数据
在程序中执行这个条 语句
select name from sys.tables
select * from sysobjects where xtype = 'U'