Dela via


How to: Delete an Index (SQL Server Management Studio)

This topic, How to: Delete an Index, describes how to delete an index by using Object Explorer in SQL Server Management Studio. You can also use the DROP INDEX statement to delete an index.

To remove an index that has a PRIMARY KEY or UNIQUE constraint, you need to first delete the constraint before you can delete the index.

To delete an index

  1. In Object Explorer, connect to an instance of SQL Server and then expand that instance.

  2. Expand Databases, expand the database in which the table belongs, and then expand Tables.

  3. Expand the table in which the index belongs and then expand Indexes.

  4. Right-click the index to be deleted and then click Delete.

  5. Confirm the correct index is selected and then click OK.

See Also

Reference

Concepts

Other Resources