Purpose
The information_schema.CHECK_CONSTRAINTS view displays the constraints on tables and columns when the CREATE TABLE operation is performed.
Note
This view was introduced in 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 of this column 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 of the constraint. |