I am trying to create a check contraint on a table by executing the following SQL statement:
alter table "ApplicationConfiguration" add
constraint APPLICATIONCONFIGURATION_CK1
CHECK (ValueType IN ('string', 'int', 'decimal, 'date', 'time', 'datetime', 'binary'))
but I get the following error:
ORA-00907: Missing right parenthesis
I am completely lost. What am I doing wrong?
Additional information:
ApplicationConfiguration
table
exists and has a column of type
nvarchar(32) not null
named ValueType
Thank you!
The Errormessage is right!
decimal misses a <'> at the End in
CHECK (ValueType IN ('string', 'int', 'decimal, ...