|Oracle® Database PL/SQL Language Reference
11g Release 2 (11.2)
|PDF · Mobi · ePub|
BODY statement drops the body of an ADT,
VARRAY type, or nested table type. When you drop a type body, the type specification still exists, and you can re-create the type body. Prior to re-creating the body, you can still use the type, although you cannot invoke its member functions.
The type body must be in your schema or you must have the
TYPE system privilege.
Name of the schema containing the type. Default: your schema.
Name of the type body to be dropped.
Dropping an ADT Body: Example This statement removes the ADT body
data_typ1. See "ADT Examples" for the example that creates this ADT.
DROP TYPE BODY data_typ1;