select [name]
,[xtype]
from sysobjects o
,syscomments s
where o.id = s.id
and text LIKE '关键字'
order by name asc
SQL SERVER 查看所有存储过程或视图里包含某个关键字的查询语句
最新推荐文章于 2025-09-08 14:44:08 发布
select [name]
,[xtype]
from sysobjects o
,syscomments s
where o.id = s.id
and text LIKE '关键字'
order by name asc

被折叠的 条评论
为什么被折叠?