Purpose
USER_CONS_COLUMNS displays columns that are specified in the constraints on all tables owned by the current user.
Related views
ALL_CONS_COLUMNS
DBA_CONS_COLUMNS
Fields
| Field | Type | Nullable? | Description |
|---|---|---|---|
| OWNER | VARCHAR2(128) | VARCHAR2(128) | The owner of the column. |
| CONSTRAINT_NAME | VARCHAR2(128) | NO | The name of the constraint. |
| TABLE_NAME | VARCHAR2(128) | NO | The name of the table containing the constraint. |
| COLUMN_NAME | VARCHAR2(4000) | YES | The column name in the constraint. |
| POSITION | NUMBER | YES | The position of the column in the constraint. |