码迷,mamicode.com
首页 > 数据库 > 详细

sql查看依赖关系

时间:2016-07-31 11:20:47      阅读:203      评论:0      收藏:0      [点我收藏+]

标签:

select OBJECT_NAME(object_id) as name,object_NAME(referenced_major_id) as ref from sys.sql_dependencies
where object_id=211251
select OBJECT_NAME(object_id) as name,object_NAME(referenced_major_id) as ref from sys.sql_dependencies
where referenced_major_id=211251

 

sql查看依赖关系

标签:

原文地址:http://www.cnblogs.com/KingUp/p/5722545.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!