摘要:FK_ 外键 主键约束SELECT tab.name AS [表名], idx.name AS [主键名称], col.name AS [主键列名]FROM sys.indexes idx JOIN sys.index_columns idxCol ON (idx.object_id = idxCol.object_id AND idx.ind... 阅读全文
posted @ 2012-07-09 14:44 hen 阅读 (5651) 评论 (0) 编辑