.\\" auto-generated by docbook2man-spec $Revision: 1.25 $
.TH "DROP INDEX" "" "29 March 2001" "SQL - Language Statements" "SQL Commands"
.SH NAME
DROP INDEX \- Removes existing indexes from a database
.SH SYNOPSIS
.sp
.nf
DROP INDEX \fIindex_name\fR [, ...]
  
.sp
.fi
.SS "INPUTS"
.PP
.TP
\fB\fIindex_name\fB\fR
The name of an index to remove.
.PP
.SS "OUTPUTS"
.PP
.TP
\fBDROP\fR
The message returned if the command completes successfully.
.TP
\fBERROR: index "\fIindex_name\fB" does not exist\fR
This message occurs if \fIindex_name\fR
is not an index in the database.
.PP
.SH "DESCRIPTION"
.PP
\fBDROP INDEX\fR drops an existing index from the database
system. To execute this command you must be the owner of
the index.
.SS "NOTES"
.PP
\fBDROP INDEX\fR is a Postgres
language extension.
.PP
Refer to 
CREATE INDEX [\fBcreate_index\fR(l)]
for information on how to create indexes.
.SH "USAGE"
.PP
This command will remove the title_idx index:
.sp
.nf
    DROP INDEX title_idx;
   
.sp
.fi
.SH "COMPATIBILITY"
.SS "SQL92"
.PP
SQL92 defines commands by which to access
a generic relational database.
Indexes are an implementation-dependent feature and hence
there are no index-specific commands or definitions in the
SQL92 language.
