Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » UltraLite - 数据库管理和参考 » UltraLite 数据库参考 » UltraLite 系统表

 

sysindex 系统表

sysindex 系统表中的每一行都描述了数据库中的一个索引。

列名 列类型 说明
check_on_commit BIT 指示何时检查参照完整性以确保每一个外键都有一个相匹配的主行。只有类型为 foreign 时才需要。
index_name VARCHAR(128) 索引的名称。
ixcol_count UNSIGNED INT 索引中的列数。
nullable BIT 只有类型为 foreign 时才需要。指出是否允许空值。
object_id UNSIGNED INT 索引的唯一标识符。
primary_index_id UNSIGNED INT 只有类型为 foreign 时才需要。列出了主索引的标识符。
primary_table_id UNSIGNED INT 只有类型为 foreign 时才需要。列出了主表的标识符。
root_handle UNSIGNED INT 仅供内部使用。
table_id UNSIGNED INT 应用索引的表的唯一标识符。
type VARCHAR(10)

索引的类型。可以是以下值之一:

  • primary
  • foreign
  • key
  • unique
  • index
hash_size UNSIGNED SHORTINT 存储用于索引散列的散列大小。
 约束
 另请参见