select name
from sysobjects o, syscomments s
where o.id = s.id
and text like '%querytext%'
from sysobjects o, syscomments s
where o.id = s.id
and text like '%querytext%'
and o.xtype = 'P' ORDER BY name
将querytext替换成你想查找的字符串即可。