I created a table using the following statement.
create table constraint_test(name varchar(20), city varchar(20) not null check (city in ('chennai','vellore')), phone numeric(10));
But when I insert as,
insert into constraint_test values('abcd,'ooty',123456);
it gets stored. How can I restrict it?