Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Seeking Equivalent of InterBase Domain

Re: Seeking Equivalent of InterBase Domain

From: MRCarver <mrcnewGroup_at_charter.net>
Date: Mon, 22 Jan 2007 18:40:49 -0800
Message-ID: <DCeth.96$qv4.36@newsfe02.lga>


First off... being new to this newsgroup, I find it refreshing to find it so active with people smarter than myself :)

Daniel, you have reiterated several times the statement "What is it you can not do in Oracle". Further, you mention constraints can built on data types, yet others state this as not being possible.

So, can you at least humor me, and submit such an animal. Perhaps a simple example, a "BOOL_TYPE", which is what got this thread started. Here again in Interbase syntax is the initial posting.

Then maybe we can put this little debate to rest.

######################################################################
create domain BOOLEAN_DOMAIN as CHAR(1) default 'N' NOT NULL check ((VALUE = 'N') or (VALUE = 'Y'));
######################################################################

Regards,
Monte Carver Received on Mon Jan 22 2007 - 20:40:49 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US