Using the system table DOMAINS, you can determine the following database information, among other things:
·
All domains and their
comments defined for data type DATE
SELECT
owner, domainname, comment
FROM DOMAIN.DOMAINS
datatype = 'DATE'
·
All your own domains in
which a default value was agreed
SELECT
domainname, datatype, len, dec, default
FROM DOMAIN.DOMAINS
WHERE owner = user
AND default IS NOT NULL
Constraint of a domain: see DOMAINCONSTRAINTS
Domain for column definition: see COLUMNS