Oracle8i SQL Reference
Release 3 (8.1.7)

Part Number A85397-01

Library

Product

Contents

Index

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

SQL Statements:
CREATE SYNONYM to DROP ROLLBACK SEGMENT, 20 of 31


DROP INDEXTYPE

Purpose

Use the DROP INDEXTYPE statement to drop an indextype, as well as any association with a statistics type.

See Also: CREATE INDEXTYPE for more information on indextypes 

Prerequisites

The indextype must be in your own schema or you must have the DROP ANY INDEXTYPE system privilege.

Syntax


Keywords and Parameters

schema

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

indextype

Specify the name of the indextype to be dropped.

If any statistics types have been associated with indextype, Oracle disassociates the statistics type from the indextype and drops any statistics that have been collected using the statistics type.

See Also: ASSOCIATE STATISTICS and DISASSOCIATE STATISTICS for more information on statistics associations 

FORCE

Specify FORCE to drop the indextype even if the indextype is currently being referenced by one or more domain indexes, and marks those domain indexes INVALID. Without FORCE, you cannot drop an indextype if any domain indexes reference the indextype.

Example

DROP INDEXTYPE Example

The following statement drops the indextype textindextype and marks INVALID any domain indexes defined on this indextype:

DROP INDEXTYPE textindextype FORCE;

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

All Rights Reserved.

Library

Product

Contents

Index