Adds a check constrant to an existing column or set of columns.
Name | Description |
---|---|
catalogName | Name of the catalog@ v3.0E.g. 'cat' |
[XML: text content] / constraintBody | E.g. 'A String'Note: the content of the tag in XML |
constraintName | Name of the check constraintE.g. 'const_name' |
disabled | boolean |
schemaName | Name of the schemaE.g. 'public' |
tableName | Name of the table to create the check constraint onE.g. 'person' |
validate | booleanThis is true if the check constraint has 'ENABLE VALIDATE' set, or false if the check constraint has 'ENABLE NOVALIDATE' set. |
Database | Notes | Auto Rollback |
---|---|---|
DB2/LUW | Supported | Yes |
DB2/z | Supported | Yes |
Derby | Not Supported | Yes |
Firebird | Not Supported | Yes |
H2 | Not Supported | Yes |
HyperSQL | Not Supported | Yes |
INGRES | Not Supported | Yes |
Informix | Not Supported | Yes |
MariaDB | Not Supported | Yes |
MySQL | Not Supported | Yes |
Oracle | Supported | Yes |
PostgreSQL | Supported | Yes |
SQL Server | Supported | Yes |
SQLite | Not Supported | Yes |
Sybase | Not Supported | Yes |
Sybase Anywhere | Not Supported | Yes |