My hueristic has been that
- if the values of a constraint are short and do not change often
(sex -- not likely to see a new one any time soon) then use a CHECK()
constraint,
- if the values of a constraint are long and/or change often, then use
a REFERENCES constraint.
- if you have a CREATE DOMAIN statement in your product, then use it
and the ALTER DOMAIN statement as needed.
Received on Thu Dec 09 2004 - 17:04:33 CST