A.10 ALL_TAB_COLUMNS

ALL_TAB_COLUMNS data dictionary for Oracle Database Gateway for DRDA.

The ALL_TAB_COLUMNS view contains columns of all tables, views, and clusters accessible to the user.

Column name Description

OWNER

Owner of the table or view

TABLE_NAME

Table or view name

COLUMN_NAME

Column name

DATA_TYPE

Data type of the column

DATA_TYPE_MOD

Data type modifier of the column

DATA_TYPE_OWNER

Owner of the data type of the column

DATA_LENGTH

Maximum length of the column in bytes

DATA_PRECISION

N/A

DATA_SCALE

Digits to the right of decimal point in a number

NULLABLE

Whether the column permits nulls? Value is n if there is a NOT NULL constraint on the column or if the column is part of a PRIMARY key.

COLUMN_ID

Sequence number of the column as created

DEFAULT_LENGTH

N/A

DATA_DEFAULT

N/A

NUM_DISTINCT

Number of distinct values in each column of the table

LOW_VALUE

For tables with more than three rows, the second lowest and second highest values. These statistics are expressed in hexadecimal notation for the internal representation of the first 32 bytes of the values.

HIGH_VALUE

N/A

DENSITY

N/A

NUM_NULLS

Number of nulls in the column

NUM_BUCKETS

Number of buckets in histogram for the column

LAST_ANALYZED

Date on which this column was most recently analyzed

SAMPLE_SIZE

Sample size used in analyzing this column

CHARACTER_SET_NAME

Name of the character set

CHAR_COL_DECL_LENGTH

Length of the character set

GLOBAL_STATS

N/A

USER_STATS

N/A

AVG_COL_LEN

Average length of the column (in bytes)

CHAR_LENGTH

Displays the length of the column in characters

CHAR_USED

N/A