Skip Headers
Oracle® Database PL/SQL Language Reference
11g Release 2 (11.2)

Part Number E25519-05
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub
LNPLS99988

DROP TYPE BODY Statement

The DROP TYPE 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.

LNPLS2031Topics

Prerequisites

The type body must be in your schema or you must have the DROP ANY TYPE system privilege.

Syntax

LNPLS1738drop_type_body ::=

Description of drop_type_body.gif follows
Description of the illustration drop_type_body.gif

Semantics

LNPLS1739schema

Name of the schema containing the type. Default: your schema.

LNPLS1740type_name

Name of the type body to be dropped.

LNPLS1741Restriction on type_name You can drop a type body only if it has no type or table dependencies.

Example

LNPLS1742Dropping 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;

Related Topics

Reader Comment

   

Comments, corrections, and suggestions are forwarded to authors every week. By submitting, you confirm you agree to the terms and conditions. Use the OTN forums for product questions. For support or consulting, file a service request through My Oracle Support.

Hide Navigation

Quick Lookup

Database Library · Master Index · Master Glossary · Book List · Data Dictionary · SQL Keywords · Initialization Parameters · Advanced Search · Error Messages

Main Categories

This Document

New and changed documents:
RSS Feed HTML RSS Feed PDF