用SQL语句查找包含有某个关键字的存储过程、触发器、函数等等

用SQL语句查找包含有某个关键字的存储过程、触发器、函数等等,SQL语句以下: select OBJECT_NAME(id) as 存储过程,id from syscomments where id in (     select     object_id(name)     from dbo.sysobjects     where xtype='P'  --存储过程为P ) and text
相关文章
相关标签/搜索