The DROP statement can be used to DROP an entire table from a database, or an index from a table.
Much like a DELETE, once a DROP TABLE takes place, it is permanent. All data, table structure and properties cannot be recovered!
DROP INDEX UniqueValues ON Names;
The command(s) completed successfully.
Here, the DROP statement is being used to remove an existing index from a table.
DROP TABLE Names;
The command(s) completed successfully.
This example shows how the DROP statement can also be used to delete an entire table from a database.
You must close a table before you use the DROP statement.