Entering content frame

 TABLES 

The system table TABLES 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 the owner of the table

TABLENAME

CHAR(32)

Name of the table

PRIVILEGES

CHAR(30)

Privileges that the current user has for the table

TYPE

CHAR(8)

Type of the table (SYSTEMS | TABLES)

TABLETYPE

CHAR(8)

Type of the table (TABLE | VIEW | SYNONYM | RESULT)

CREATEDATE

DATE(10)

Date when table created

CREATETIME

TIME(8)

Time when table created

UPDSTATDATE

DATE(10)

Date of the last UPDATE STATISTICS statement for the table

UPDSTATTIME

TIME(8)

Time of the last UPDATE STATISTICS statement for the table

ALTERDATE

DATE(10)

Date when table changed

ALTERTIME

TIME(8)

Time when table changed

UNLOADED

CHAR(3)

Table is unloaded (YES | NO)

SAMPLE_PERCENT

FIXED(3)

Percentage of the table that is read for updating statistics

SAMPLE_ROWS

FIXED(10)

Number of rows in the table that are read for updating statistics

COMMENT

LONG

Comment about the 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 are stored with variable length (YES|NO); see CREATE TABLE Statement

See also:

Evaluating System Tables ® TABLES

 

Leaving content frame