Similar to this question, can we use the pattern:
CONSTRAINT chk_X CHECK (X IN (...))
For any SQL data type? E.g.:
CONSTRAINT chk_SomeIntField CHECK (SomeIntField IN (1,2,3,4))
Where SomeIntField is an INTEGER?
Similar to this question, can we use the pattern:
CONSTRAINT chk_X CHECK (X IN (...))
For any SQL data type? E.g.:
CONSTRAINT chk_SomeIntField CHECK (SomeIntField IN (1,2,3,4))
Where SomeIntField is an INTEGER?
You can use this for any data type that supports IN.  So it works for strings, numbers, and date/time values.