Skip to Main Content

Oracle Database Free

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Where is the data type of a domain in data dictionary views?

I created the following domain in a version 23.5 free instance (also tried version 23.6 in an autonomous database instance with the same result) :

create domain if not exists dbl_identifier
   as raw(16) strict
   -- formatted 36 character GUID
   display substr(rawtohex(dbl_identifier), 1, 8)
           || '-' || substr(rawtohex(dbl_identifier), 9, 4)
           || '-' || substr(rawtohex(dbl_identifier), 13, 4)
           || '-' || substr(rawtohex(dbl_identifier), 17, 4)
           || '-' || substr(rawtohex(dbl_identifier), 21, 12);

When I use this domain in a table I can see its data type. However, where do I find the domain data type in the data dictionary?

all_domains does not contain the data type of a domain. Is this information missing?

Any help is appreciated.

Thanks.

This post has been answered by Mike Kutz on Oct 13 2024
Jump to Answer
Comments
Post Details
Added on Oct 12 2024
2 comments
54 views