摘要: //////////////////查询指定表外键约束select a.name as 约束名, object_name(b.parent_object_id) as 外键表, d.name as 外键列, object_name(b.referenced_object_id) as 主健表, c.name as 主键列 from sys.foreign_keys A inner join sy... 阅读全文
posted @ 2016-08-25 15:14 gds111789 阅读(4376) 评论(0) 推荐(0) 编辑