USER_CONSTRAINTS
USER_CONSTRAINTS displays the table constraint information accessible to the current user.
Name |
Type |
Description |
---|---|---|
constraint_name |
vcharacter varying(64) |
Constraint name |
constraint_type |
text |
Constraint type
|
table_name |
character varying(64) |
Name of constraint-related table |
index_owner |
character varying(64) |
Owner of constraint-related index (only for the unique constraint and primary key constraint) |
index_name |
character varying(64) |
Name of constraint-related index (only for the unique constraint and primary key constraint) |
Example
Query constraints on a specified table owned by the current user. Replace t1 with the actual table name.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.