ALL_CONS_COLUMNS

ALL_CONS_COLUMNS describes columns that are accessible to the current user and that are specified in constraints.

Column Datatype NULL Description
OWNER VARCHAR2(128) NOT NULL Owner of the constraint definition
CONSTRAINT_NAME VARCHAR2(128) NOT NULL

Name of the constraint definition

If the constraint is inherited from a data use case domain specified for the column, a system-generated constraint name is displayed, not the constraint name specified in the data use case domain.

TABLE_NAME VARCHAR2(128) NOT NULL Name of the table with the constraint definition
COLUMN_NAME VARCHAR2(4000)  

Name of the column or attribute of the object type column specified in the constraint definition

Note: If you create a constraint on a user-defined REF column, the system creates the constraint on the attributes that make up the REF column. Therefore, the column names displayed in this view are the attribute names, with the REF column name as a prefix, in the following form:

"REF_name"."attribute"

POSITION NUMBER   Original position of the column or attribute in the definition of the object
DOMAIN_OWNER VARCHAR2(128)   If the constraint is inherited from a data use case domain specified for the column, the owner of the data use case domain
DOMAIN_NAME VARCHAR2(128)   If the constraint is inherited from a data use case domain specified for the column, the name of the data use case domain

See Also: