You have generated the HOTEL Demo Schema for the SQL Tutorial.
Log on to the database instance DEMODB as user MONA.
Create domains. Proceed as described in SQL Tutorial, Domains.
You can use the system tableDOMAINCONSTRAINTS to determine the following database information, among other things:
· All domains for which a constraint on the permissible values was defined and the definition of this domain
SELECT domainname, definition
FROM DOMAIN.DOMAINCONSTRAINTS
· All domains of the user MONA for which a constraint on the permissible values was defined.
SELECT owner, domainname
FROM DOMAIN.DOMAINCONSTRAINTS
WHERE owner = 'MONA'
All domains: see DOMAINS