GaussDB-MY_IND_COLUMNS

36 阅读1分钟

GaussDB-MY_IND_COLUMNS

MY_IND_COLUMNS displays column information about all indexes accessible to the current user. It is accessible to all users. This view exists in the PG_CATALOG and SYS schemas.

NameTypeDescription
index_ownercharacter varying(64)Index owner.
index_namecharacter varying(64)Index name.
table_ownercharacter varying(64)Table owner.
table_namecharacter varying(64)Table name.
column_namenameColumn name.
column_positionsmallintPosition of a column in an index.
column_lengthnumericLength of the column. For the variable-length type, the value of this field is NULL.
char_lengthnumericMaximum length of a column, in bytes.
descendcharacter varying(4)Specifies whether columns are sorted in descending (DESC) or ascending (ASC) order.
collated_column_idnumericNot supported. Set it to NULL.

更多详情请参考GaussDB 文档中心:doc.hcs.huawei.com/db/zh-cn/ga…