SQL SERVER 查看所有存储过程或视图里包含某个关键字的查询语句

SQL SERVER 查看所有存储过程或视图里包含某个关键字的查询语句

select [name]
      ,[xtype]
from sysobjects o
    ,syscomments s
where o.id = s.id
      and text LIKE '关键字'
order by name asc
posted @ 2022-02-14 10:53  vvull  阅读(204)  评论(0编辑  收藏  举报