Domain Constraint
Domain constraints allows us to test the values inserted into the database and to test the queries to make sure comparisons made are appropriate.
Examples:
create domain wage numeric (5,2) constraint wage-value-test check (value >= 4.0)
Previous slide
Next slide
Back to first slide
View graphic version