SELECT obj.Name 存储过程名称, sc.TEXT 存储过程内容
FROM syscomments sc
INNER JOIN sysobjects obj ON sc.Id = obj.ID
WHERE sc.TEXT LIKE '%SELECT * FROM (SELECT t0.F_PBKA_DATE f_pbka_date, %'
本文转自51GT51CTO博客,原文链接: http://blog.51cto.com/yataigp/2052063,如需转载请自行联系原作者