Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: RE: Useful Oracle books - C.J. Date theory vs. practicality
Hi Ryan,
the definition of a domain:
a set of allowed values, with a set of constraints and well-defined
operators on those values.
in other words, it is "just" a data type. however, this entails a little bit
more than
the standard NUMBER, VARCHAR, DATE data types...
the ANSI/ISO SQL standard has the following syntax:
<domain constraint> ::=
[ <constraint name definition> ] <check constraint definition> [
<constraint characteristics> ]
by the way, this is not part of core SQL; it is part of feature F251, "Domain support"
user-defined datatypes and methods come sort of close, by the way.
your second question is tough -- can't answer that in a line or two. three-valued logic is already rather counter-intuitive for human beings, and SQL did not implement it in a consistent way. For example:
Kind regards,
Lex.
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of ryan.gaffuri_at_cox.net
Sent: Friday, May 28, 2004 13:35
To: oracle-l_at_freelists.org; oracle-l_at_freelists.org
Subject: Re: RE: Useful Oracle books - C.J. Date theory vs. practicality
Lex,
For those of us not schooled in relational theory could you explain what you mean by 'domain'?
Also what are your issues with SQL?
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Fri May 28 2004 - 08:25:38 CDT---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------
![]() |
![]() |