Oracle8i SQL Reference Release 3 (8.1.7) Part Number A85397-01 |
|
SQL Statements:
CREATE SYNONYM to DROP ROLLBACK SEGMENT, 19 of 31
Use the DROP
INDEX
statement to remove an index or domain index from the database.
See Also:
|
The index must be in your own schema or you must have the DROP
ANY
INDEX
system privilege.
schema
Specify the schema containing the index. If you omit schema
, Oracle assumes the index is in your own schema.
index
Specify the name of the index to be dropped. When the index is dropped, all data blocks allocated to the index are returned to the index's tablespace.
If you drop a domain index:
FORCE
clause and removes the user-defined statistics collected with the statistics type.
See Also: ASSOCIATE STATISTICS and DISASSOCIATE STATISTICS for more information on statistics type associations
If you drop a global partitioned index, a range-partitioned, or a hash-partitioned index, all the index partitions are also dropped. If you drop a a composite-partitioned index, all the index partitions and subpartitions are also dropped.
FORCE
FORCE
applies only to domain indexes. This clause drops the domain index even if the indextype routine invocation returns an error or the index is marked LOADING
. Without FORCE
, you cannot drop a domain index if its indextype routine invocation returns an error or the index is marked LOADING
.
DROP
INDEX
Example
This statement drops an index named monolith
:
DROP INDEX monolith;
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|