找出存储过程相关表

发表于:2007-05-25来源:作者:点击数: 标签:找出相关过程nameSelect
select name from sysobjects where id in(SELECT distinct bb.depid as kk
FROM sysobjects
JOIN sysdepends bb ON bb.id = sysobjects.id
where sysobjects.name='存储过程名')
--By HuntFox

原文转自:http://www.ltesting.net