select distinct object_name(id) from syscomments where id in
(select object_id from sys.objects where type ='P') and text like'%表名%'
查找某表名在哪個存儲過程出現過
最新推荐文章于 2024-10-31 10:10:24 发布
select distinct object_name(id) from syscomments where id in
(select object_id from sys.objects where type ='P') and text like'%表名%'