sqlserver检索函数、存储过程、视图 中的关键字

select a.name,a.[type],b.[definition] from sys.all_objects a,sys.sql_modules b
where a.is_ms_shipped=0 and a.object_id = b.object_id
--and a.[type] ='V'
and [definition] like '%检索内容%'
order by a.name

原文地址:https://www.cnblogs.com/zspbolg/p/4012695.html