找出存储过程相关表

类别:数据库 点击:0 评论:0 推荐:
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://com.8s8s.com/it/it19796.htm