restrict the column values
Hi,
I want to create one table with a column that will contain only selected values.
e.g.
create table meal_choice (
name varchar2(50),
meal_choice varchar2(20)
);
Now, in this case, I want to restrict the value of meal_choice to 'VEG' or 'NON-VEG'.
Can you please tell me how this can be done?
I'm using Oracle 11.2.0.1.
Thanks,
Anjan