The TABLES system table contains all the tables (base tables, view tables, synonyms, and event tables) for which the current user has privileges.
TABLES
OWNER |
CHAR(32) |
Name of table owner |
TABLENAME |
CHAR(32) |
Name of table |
PRIVILEGES |
CHAR(30) |
Privileges that current user has for the table |
TYPE |
CHAR(8) |
Type of table (SYSTEMS | TABLES) |
TABLETYPE |
CHAR(8) |
Type of table (TABLE | VIEW | SYNONYM | RESULT) |
CREATEDATE |
DATE(10) |
Creation date of table |
CREATETIME |
TIME(8) |
Creation time of table |
UPDSTATDATE |
DATE(10) |
Date of last UPDATE STATISTICS statement for table |
UPDSTATTIME |
TIME(8) |
Time of last UPDATE STATISTICS statement for table |
ALTERDATE |
DATE(10) |
Change date of table |
ALTERTIME |
TIME(8) |
Change time of table |
UNLOADED |
CHAR(3) |
Table is unloaded (YES | NO) |
SAMPLE_PERCENT |
FIXED(3) |
Percentage of table that is read for updating statistics |
SAMPLE_ROWS |
FIXED(10) |
Number of rows in table that are read for updating statistics |
COMMENT |
LONG |
Comment about table |
TABLEID |
CHAR(8) BYTE |
Table ID in hexadecimal format |
DYNAMIC |
CHAR(3) |
Table was defined with DYNAMIC option (YES|NO) |
ARCHIVE |
CHAR(3) |
Table was defined with FOR ARCHIVE option (YES|NO) |
VARIABLE_COLUMNS |
CHAR(3) |
Columns stored with variable length (YES|NO); see CREATE TABLE Statement |
See also:
Evaluating System Tables ® TABLES