如果需要查找某个存储过程或触发器中是否含有某段文本(比如:你想知道有哪些存储过程操作了某个表)

可以这么写

 

select name 
from sysobjects o, syscomments s 
where o.id = s.id 
and text like '%text%' 

相关文章:

  • 2021-10-09
  • 2022-12-23
  • 2021-10-31
  • 2022-02-05
猜你喜欢
  • 2021-11-15
  • 2021-07-16
  • 2021-11-16
  • 2021-09-30
  • 2022-12-23
  • 2021-07-16
  • 2022-12-23
相关资源
相似解决方案