找出存储过程相关表

发表于:2007-06-08来源:作者:点击数: 标签:
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