Quote:
Originally Posted by stephenb
Yup, Karl pretty much summed it up....domains are a TSQL specific concept that doesn't exist in other databases, you should use a check constraint instead.
|
That is not correct. CREATE DOMAIN and ALTER DOMAIN are both part of standard SQL92. Furthermore, inadequate though the SQL concept of domain is, it still does very much more than a check constraint on an individual column because it harmonizes representations between tables (preventing function attribute joins and other undesirable goofs).
I would very much welcome domain support in Ingres.
I'll get back into my box now. I feel grubby using these [blessed] web-based forums...