Purpose
The information_schema.CHECK_CONSTRAINTS view provides information about constraints on tables and columns in a CREATE TABLE operation.
Note
This view is introduced since OceanBase Database V3.2.3.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| CONSTRAINT_CATALOG | varchar(64) | NO | The name of the catalog to which the constraint belongs. The value is always def. |
| CONSTRAINT_SCHEMA | varchar(128) | NO | The name of the schema to which the constraint belongs. |
| CONSTRAINT_NAME | varchar(64) | NO | The name of the constraint. |
| CHECK_CLAUSE | text | NO | The expression that specifies the constraint condition. |