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: DA Morgan <damorgan_at_psoug.org>
Date: Sat, 20 Jan 2007 17:05:10 -0800
Message-ID: <1169341505.91312@bubbleator.drizzle.com>


Martijn Tonies wrote:

>> Once again Oracle has this capability and has had it since at least
>> version 8.0.6.

>
> No, it does not ... Domains are not equivalent to "types".

I didn't say they were. I said they could be used to meet the OP's requirement.

> Types is a different beast, and useful in its own respect.

And useful in the same respect for the OP.

> Domains basically create a very small sub-type of an existing
> raw datatype and may include an optional check constraint.
> This domain can then be used in column definitions.
 >
> An Oracle "type" is a much more complex than that and only
> introduced in Ora 8, while "domains" is a much older "thing"
> in the RDBMS world (and has been in InterBase for ages).

I did state that above if you look at the first sentence.

> The closest thing I have come around that is similar to InterBase
> "domains" is the SQL Server "user defined type" before SQL 2005
> came along.
>
> Hope this helps.

And what can you do with them that you can not do with an Oracle user defined type with (or without) methods?

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Sat Jan 20 2007 - 19:05:10 CST

Original text of this message

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