select distinct o.name
from dbo.sysobjects o
join dbo.syscomments c on o.id = c.id
where o.xtype = ‘P’
and c.text like ‘%찾을문구입력%’
또는
select * from information_schema.routines where routine_definition like ‘%찾을 문구%’
from dbo.sysobjects o
join dbo.syscomments c on o.id = c.id
where o.xtype = ‘P’
and c.text like ‘%찾을문구입력%’
또는
select * from information_schema.routines where routine_definition like ‘%찾을 문구%’