The system table INDEXCOLUMNS contains detailed information about the indexes for which the current user has privileges.
INDEXCOLUMNS
OWNER |
CHAR(32) |
Name of index owner |
TABLENAME |
CHAR(32) |
Name of the table |
INDEXNAME |
CHAR(32) |
Name of the index |
TYPE |
CHAR(6) |
Type of index (UNIQUE | NULL) |
COLUMNNAME |
CHAR(32) |
Name of column |
SORT |
CHAR(4) |
Sort sequence for column (ASC | DESC) |
COLUMNNO |
FIXED(4) |
Number of column in index |
DATATYPE |
CHAR(10) |
Data type of domain (BOOLEAN | CHAR | DATE | FIXED | FLOAT | INTEGER | LONG | SMALLINT | TIME | TIMESTAMP) |
LEN |
FIXED(4) |
Length or precision of column definition |
CREATEDATE |
DATE(10) |
Creation date of index |
CREATETIME |
TIME(8) |
Creation time of index |
INDEX_USED |
FIXED(10) |
Usage frequency of index for searches |
DISABLED |
CHAR(3) |
Index not activated for searches (YES | NO) |
COMMENT |
LONG |
Comment about index |
See also:
Evaluating System Tables ® INDEXCOLUMNS