查询某个表被哪些存储过程调用
select distinct object_name(id) from syscomments where id in (select id from sysobjects where type =‘P‘) and text like ‘%表名%‘
2022-09-23 14:41:03
查询某个表被哪些存储过程调用
select distinct object_name(id) from syscomments where id in (select id from sysobjects where type =‘P‘) and text like ‘%表名%‘