Contents

1 2005
2 2008


1 2005 #

select 
	object_name(fkeyid) 谿語^
,	object_name(rkeyid) 谿語^麹
from sys.sysreferences

2 2008 #

--谿語^ 壱磯
SELECT * 
 FROM sys.dm_sql_referencing_entities ('dbo.Product', 'OBJECT');
 GO

--谿語^(麹) 壱磯 
SELECT * 
 FROM sys.dm_sql_referenced_entities('dbo.spc_UpdateProductDetail', 'OBJECT')
GO