Updated on 2024-06-03 GMT+08:00

MY_CONS_COLUMNS

MY_CONS_COLUMNS displays information about primary key constraint columns in tables accessible to the current user. This view exists in the PG_CATALOG and SYS schemas.

Table 1 MY_CONS_COLUMNS columns

Name

Type

Description

table_name

character varying(64)

Name of a constraint-related table.

column_name

character varying(64)

Name of a constraint-related column.

constraint_name

character varying(64)

Constraint name.

owner

character varying(64)

Constraint creator.

position

smallint

Position of a column in a table.