查询存储过程中特定关键字

select p.name, m.definition
from sys.procedures p inner join sys.sql_modules m
on p.object_id = m.object_id
where m.definition like '%关键字%'
posted @ 2012-01-10 15:34  thanks  阅读(157)  评论(0编辑  收藏  举报