脚本:
select * from sys.all_sql_modules where definition like '%关键字%';
或者
SELECT DISTINCT o.name AS name, o.type_desc FROM sys.sql_modules m INNER JOIN sys.objects o ON m.object_id = o.object_id WHERE m.definition Like '%关键字%';
微信扫码查看本文
脚本:
select * from sys.all_sql_modules where definition like '%关键字%';
或者
SELECT DISTINCT o.name AS name, o.type_desc FROM sys.sql_modules m INNER JOIN sys.objects o ON m.object_id = o.object_id WHERE m.definition Like '%关键字%';
发表评论