Oracle9i SQL Reference
Release 1 (9.0.1)

Part Number A90125-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

SQL Statements:
DROP SEQUENCE to ROLLBACK, 8 of 20


DROP TYPE BODY

Purpose

Use the DROP TYPE BODY statement to drop the body of an object type, varray, or nested table type. When you drop a type body, the object type specification still exists, and you can re-create the type body. Prior to re-creating the body, you can still use the object type, although you cannot call the member functions.

See Also:

  • DROP TYPE for information on dropping the specification of an object along with the body

  • CREATE TYPE BODY for more information on type bodies

 

Prerequisites

The object type body must be in your own schema, and you must have

Syntax

drop_type_body::=


Text description of statements_912a.gif follows
Text description of drop_type_body

Keywords and Parameters

schema

Specify the schema containing the object type. If you omit schema, Oracle assumes the object type is in your own schema.

type_name

Specify the name of the object type body to be dropped.

Restriction: You can drop a type body only if it has no type or table dependencies.

Example

DROP TYPE BODY Example

The following statement removes object type body data_typ (created in "Updating a Type Body Example"):

DROP TYPE BODY data_typ;

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback