标签:select enc class reference foreign mssql sel table sys
select fk.name,fk.object_id, OBJECT_NAME(fk.parent_object_id) as referenceTableName
from sys.foreign_keys as fk
join sys.objects as o on fk.referenced_object_id =o.object_id
where o.name=N'Product_inmem'
标签:select enc class reference foreign mssql sel table sys
原文地址:https://www.cnblogs.com/afei2003/p/12095696.html