地址:http://technet.microsoft.com/zh-cn/library/ms178551.aspx
一.sys.sysindexkeys
包含有关数据库的索引中的键或列的信息。(表主键信息)
列名 | 数据类型 | 说明 |
---|---|---|
id | int | 表的 ID。 |
indid | smallint | 索引的 ID。 |
colid | smallint | 列的 ID。 |
keyno | smallint | 该列在索引中的位置。 |
地址:http://technet.microsoft.com/zh-cn/library/ms178551.aspx
包含有关数据库的索引中的键或列的信息。(表主键信息)
列名 | 数据类型 | 说明 |
---|---|---|
id | int | 表的 ID。 |
indid | smallint | 索引的 ID。 |
colid | smallint | 列的 ID。 |
keyno | smallint | 该列在索引中的位置。 |
转载于:https://www.cnblogs.com/paulhe/p/3732696.html