Information on base table columns. The current authorization identifier must have at least one column privilege for the column or the UTILITY privilege for the database.
Column name | Data type | Contents | ||||
TABLE_CATALOG | CHAR (18) | Database name | ||||
TABLE_SCHEMA | CHAR (31) | Name of the schema to which the table | ||||
TABLE_NAME | CHAR (31) | Name of the base table | ||||
COLUMN_NAME | CHAR (31) | Column name | ||||
ORDINAL_POSITION | SMALLINT | Sequence number of the column in the | ||||
COLUMN_DEFAULT | VARCHAR (256) | Default value, as specified in the column definition TRUNCATED if representation of the default value NULL value in all other cases | ||||
IS_NULLABLE | VARCHAR (3) |
| ||||
DATA_TYPE | VARCHAR (24) | Data type of the column: | ||||
CHARACTER | SMALLINT | Max. length of the column in code units if the data type is CHARACTER, NULL value in all other cases | ||||
NUMERIC_PRECISION | SMALLINT | Total number of significant digits for numeric data types NULL value in all other cases | ||||
NUMERIC_PRECISION | SMALLINT | Radix for numeric data types NULL value in all other cases | ||||
NUMERIC_SCALE | SMALLINT | Number of digits right of the decimal NULL value in all other cases | ||||
DATETIME_PRECISION | SMALLINT | Number of digits right of the decimal for the data types TIME and NULL value in all other cases | ||||
The columns OLDEST_DESCRIPTOR* are assigned a value if DATA_TYPE is OLDEST: | ||||||
OLDEST_DESCRIPTOR1 | CHAR (1) |
NULL value if DATATYPE is not | ||||
OLDEST_DESCRIPTOR2 | CHAR (1) |
NULL value if DATATYPE is not | ||||
OLDEST_DESCRIPTOR3 | CHAR (1) |
NULL value if DATATYPE is not | ||||
OLDEST_DESCRIPTOR4 | CHAR (1) |
NULL value if DATATYPE is not | ||||
COLUMN_DESCRIPTOR1 | CHAR (1) |
| ||||
COLUMN_DESCRIPTOR2 | CHAR (1) |
| ||||
COLUMN_DESCRIPTOR3 | CHAR (1) |
| ||||
COLUMN_DESCRIPTOR4 | CHAR (1) |
| ||||
COLUMN_DESCRIPTOR5 | CHAR (1) |
| ||||
PK_DISTANCE | SMALLINT | Distance of the column to the start of the NULL value if the column is not in the | ||||
SESAM_SAN | CHAR (3) | Symbolic attribute name of the column NULL value if the column is defined in | ||||
SESAM_DEFAULT | CHAR (2) | CALL DML default (with sign, if NULL value if the column is defined in | ||||
FIRST_OCCURRENCE | SMALLINT | First possible occurrence of a multiple NULL value if the column is not multiple | ||||
LAST_OCCURRENCE | SMALLINT | Last possible occurrence of a multiple NULL value if the column is not multiple |
Table 64: BASE_TABLE_COLUMNS view of the INFORMATION_SCHEMA (section 4 of 4)