Oracle answer.
Re: How to impose a check that a certain field can only contain a certain domain of values?
You can use SQL's CHECK Constraints
Consider that the field is called "timeperiod" and the table is called "day"
[sql]
alter table day add check (timeperiod in ('AM', 'PM'));
[/sql]
|