select name from sysobjects o, syscomments s where o.id = s.id and text like '%tempKYGS%'and o.xtype = 'P'