select b.name,a.text
from dbo.syscomments a, dbo.sysobjects b
where a.id=b.id and b.xtype='p' and a.text like '% *from %'
#p表示存储过程 V表示视图
#p表示存储过程 V表示视图
select b.name,a.text
from dbo.syscomments a, dbo.sysobjects b
where a.id=b.id and b.xtype='p' and a.text like '% *from %'
#p表示存储过程 V表示视图
#p表示存储过程 V表示视图