The CHECK_CONSTRAINTS rowset identifies the check constraints defined in the catalog that are owned by a given user.
The CHECK_CONSTRAINTS rowset contains the following columns.
Column name | Type indicator | Description |
CONSTRAINT_ CATALOG |
DBTYPE_WSTR | Catalog name. NULL if the provider does not support catalogs. |
CONSTRAINT_SCHEMA | DBTYPE_WSTR | Unqualified schema name. NULL if the provider does not support schemas. |
CONSTRAINT_NAME | DBTYPE_WSTR | Constraint name. |
CHECK_CLAUSE | DBTYPE_WSTR | The WHERE clause specified in the CHECK clause. |
DESCRIPTION | DBTYPE_WSTR | Human-readable description of the column. |
Default Sort Order: CONSTRAINT_CATALOG, CONSTRAINT_SCHEMA, CONSTRAINT_NAME