Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Seeking Equivalent of InterBase Domain
Mark D Powell wrote:
> MRCarver wrote:
>>> Well, first off .. InterBase <> Oracle. Don't try to reverse engineer >>> to work like something else. >> Not trying to reverse engineer, but simply trying to grasp Oracle's >> equivalent to Interbase's "DOMAIN". A "DOMAIN", such as in Interbase or >> in CASE tools like Embarcedero's ERStudio, describe commonly used data >> types with certain constraints. This way you define the constraint >> once, then simply bind it to a given field. >>> Second, maybe I'm missing something, but it looks like you are wanting >>> a boolean data type for a primary key column???? That would mean you >>> could only ever have two rows in the table. I must be missing >>> something. >>> >> Not primary key, just a field having boolean choices. Other examples of >> likely domains are >> "POSTAL_CODE_DOMAIN" >> "GENDER_DOMAIN" >> "ADDRESS_DOMAIN"
Mark,
Thanks for your input.
I wasn't really looking for object functionality, but rather a fixed field definition. So for example if I defined an address elsewhere, I don't have to remember that previously I defined an address as VARCHAR(36). Instead I just pick the ADDRESS_DOMAIN.
Regards,
Monte Carver
Received on Fri Jan 19 2007 - 19:16:53 CST
![]() |
![]() |