Enum CheckConstraintType
- Namespace
- YndigoBlue.Velocity.Enums
- Assembly
- YndigoBlue.Velocity.dll
Specifies the type of element that can appear in a check constraint definition.
public enum CheckConstraintType
Fields
Column = 1A column reference within the check constraint expression.
Date = 2A date literal value used in the constraint expression.
DateTime = 3A datetime literal value used in the constraint expression.
Function = 4A database function call within the constraint expression.
Interval = 5An interval (duration) literal value used in the constraint expression.
Number = 6A numeric literal value used in the constraint expression.
Operator = 7An operator used for comparison or logical operations in the constraint.
Snippet = 8A raw SQL code snippet to be inserted into the constraint expression.
String = 9A string literal value used in the constraint expression.
Time = 10A time-of-day literal value used in the constraint expression.
Timestamp = 11A timestamp literal value used in the constraint expression.
Remarks
Check constraints are used to limit the values that can be placed in a column. They consist of various elements including column references, operators, literals, and functions combined to form validation expressions.