Information on base tables and views in the database.
Column name | Data type | Contents | ||||||
TABLE_SCHEMA | CHAR (31) | Name of the schema to which the table | ||||||
TABLE_NAME | CHAR (31) | Table name | ||||||
TABLE_TYPE | VARCHAR (18) | BASE TABLE, VIEW or | ||||||
TABLE_ID | SMALLINT | Identification number of the base table or of the abstract NULL value for views | ||||||
SPACE_NAME | CHAR (18) | Name of the space in which the (non-partitioned) table is _PARTITIONS_ in the case of a partitioned table NULL value in all other cases | ||||||
SPACE_ID | SMALLINT | Identification number of the space. In the case of a NULL value in all other cases | ||||||
TABLE_STYLE | VARCHAR (6) |
NULL value in all other cases | ||||||
TABLE_DATE | TIMESTAMP (3) | Time of creation or time of last ALTER | ||||||
VIEW_DEFINITION | VARCHAR | Query expression that defines the view for views NULL value in all other cases | ||||||
TABLE_PRIMARY_KEY | CHAR (1) |
| ||||||
CHECK_OPTION | VARCHAR (8) | NONE No check option set CASCADED Check option set NULL value in all other cases | ||||||
IS_UPDATABLE | VARCHAR (3) |
| ||||||
TEMPORARY_VIEW | VARCHAR (3) |
|
Table 135: SYS_TABLES view of the SYS_INFO_SCHEMA