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

Posted on 2016-11-16 16:52  上善其若水,厚德载物  阅读(145)  评论(0)    收藏  举报

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

pro_GetSN为存储过程名

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3