Click to Rate and Give Feedback
MSDN
MSDN Library
SQL Server
SQL Server 2005
 DROP INDEX (SQL Server Compact Edit...
SQL Server 2005 Compact Edition Books Online
DROP INDEX (SQL Server Compact Edition)

Removes an index from the current database.

DROP INDEX <table_name>.<index_name>
table_name

Specifies the name of the table on which to drop the index.

index_name

The index to drop.

The DROP INDEX statement does not apply to indexes created by defining PRIMARY KEY or UNIQUE constraints (created by using the PRIMARY KEY or UNIQUE options of either the CREATE TABLE or ALTER TABLE statements). For more information about PRIMARY KEY or UNIQUE constraints, see CREATE TABLE (SQL Server Compact Edition).

After DROP INDEX is executed, all the space previously occupied by the index is regained. This space then can be used for any database object.

DROP INDEX cannot be specified on an index on a system table.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker