sql中存储过程找表

/////查询所有存储过程使用这张表名的过程
 
select name 
from sysobjects o, syscomments s 
where o.id = s.id 
and text like '%表名%' 
and o.xtype = 'P'
posted @ 2019-07-16 14:14  ITMrRight  阅读(895)  评论(0编辑  收藏  举报