现在的位置: 首页 > 综合 > 正文

SQLServer查询引用某个存储过程的对象名称

2013年06月25日 ⁄ 综合 ⁄ 共 185字 ⁄ 字号 评论关闭

select distinct(so.name) as name
from syscomments sc inner join sysobjects so
on sc.id = so.id 
where so.xtype = 'P'

and sc.text like '%sproc_name%'


原文路径:

http://blog.chinaunix.net/uid-11209572-id-3273211.html

抱歉!评论已关闭.