Updated on 2023-10-23 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 both PG_CATALOG and SYS schema.

Table 1 MY_CONS_COLUMNS columns

Name

Type

Description

owner

character varying(64)

Constraint creator

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

position

smallint

Position of a column in a table