My Oracle Support Banner

RDBPROD: How to extract the description on a field or record in the CDD using SQL? (Doc ID 552219.1)

Last updated on FEBRUARY 05, 2020

Applies to:

Oracle Rdb Server on OpenVMS - Version 7.0 and later
Oracle CDD/Repository - Version 7.0 and later
HP OpenVMS Itanium
HP OpenVMS Alpha


Given a CDD dictionary defined as follows:

$ mc cdo
CDO> define dictionary USER_DB:[CDDPLUS].
%RMU-W-PREVACL, Restoring the root ACL over a pre-existing ACL.
This is a normal condition if you are using the CDO utility.
CDO> exit

Define a field and a record with a description:

$ assign USER_DB:[CDDPLUS] cdd$default
$ mcr cdo
CDO> define directory cdd$default.veld.
CDO> define directory cdd$default.rec.
CDO> define field cdd$default.veld.fld1
cont> description /* this is the description */
cont> datatype text 4.
CDO> define record cdd$default.rec.rec1
cont> description /* this is the record description */.
cont> cdd$default.veld.fld1.
cont> end record.
CDO> exit

Is it possible to extract the description of a field or record in the CDD using SQL?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.