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

Home -> Community -> Usenet -> c.d.o.misc -> How to implement DOMAINs?

How to implement DOMAINs?

From: Johann Sander <jsander_at_puc-online.de>
Date: 7 Apr 2003 00:11:43 -0700
Message-ID: <ff2b8f88.0304062311.1df1de1d@posting.google.com>


Hello everybody,

just came across the question how to implement SQL domains in ORACLE. What I would like to do is something like this:

CREATE DOMAIN AREACODE AS CHAR(5) CONSTRAINT VALID_AREA CHECK ( LENGTH(VALUE)=5 ) Any ideas?

Johann Received on Mon Apr 07 2003 - 02:11:43 CDT

Original text of this message

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