select b.name from
dbo.syscomments a,dbo.sysobjects b
where a.id=b.id and b.xtype in ('p','tr','fn','tf','if')
and a.text like '%context%'
select b.name from
dbo.syscomments a,dbo.sysobjects b
where a.id=b.id and b.xtype in ('p','tr','fn','tf','if')
and a.text like '%context%'