补充补充:
select * from sysobjects where type = 'u'表
select * from sysobjects where type = 'p'存储过程
select * from sysobjects where type = 'v'视图
select * from syscolumns where id in(select id from sysobjects where type = 'u')
列信息1
select * from tempdb.dbo.sysobjects where type = 'u'查临时表的
exec sp_columns td_project 列信息2