查看数据库依赖对象

SELECT
referencing_schema_name +'.'+ referencing_entity_name AS ReferencedEntityName,
referencing_class_desc AS ReferencingEntityDescription
FROM sys.dm_sql_referencing_entities ('dbo.BZLIST', 'OBJECT');
GO

posted @ 2013-03-23 11:23  qanholas  阅读(314)  评论(0编辑  收藏  举报