drop index (core)

Description

Removes an index from a table in the current database.

Syntax

Transact-SQL Syntax

drop index table_name.index_name
[, table_name.index_name]...

ODBC Syntax

DROP INDEX index_name

Parameters

table_name

is the table in which the indexed column is located. The table must be in the current database.

index_name

is the name of the index to be dropped.

Examples

Example 1

drop index authors.au_id_ind

Usage