select distinct b.name
from dbo.syscomments a, dbo.sysobjects b
where a.id=b.id and b.xtype='p' and a.text like '%text%'
order by name
转载于:https://www.cnblogs.com/nickdeng/archive/2012/04/25/2470260.html
select distinct b.name
from dbo.syscomments a, dbo.sysobjects b
where a.id=b.id and b.xtype='p' and a.text like '%text%'
order by name
转载于:https://www.cnblogs.com/nickdeng/archive/2012/04/25/2470260.html