找到一个存储过程被哪些存储过程引用了

select distinct name from syscomments a,sysobjects b where a.id=b.id and b.xtype='p' and text like '%pro_GetSN%';

pro_GetSN为存储过程名

原文地址:https://www.cnblogs.com/lonely-buffoon/p/6070250.html