Used to specify a SQL check constraint on a column or table
when schema generation is in effect.
- Since:
- 3.2
- See Also:
-
Required Element Summary
Modifier and TypeRequired ElementDescription(Required) The native SQL expression to be checked. -
Optional Element Summary
-
Element Details
-
name
String name(Optional) The name of the constraint.Defaults to a provider-generated name.
- Default:
""
-
constraint
String constraint(Required) The native SQL expression to be checked. -
options
String options(Optional) A SQL fragment appended to the generated DDL which creates this constraint.- Default:
""
-