sql server 查看存储过程中是否包含某个字符串
select name
from sysobjects o, syscomments s
where o.id = s.id
and text like '%querystring%'
and o.xtype = 'P' ORDER BY name
select name
from sysobjects o, syscomments s
where o.id = s.id
and text like '%querystring%'
and o.xtype = 'P' ORDER BY name