Skip to content

DROP

Deletes a table, an index, a view or a stored procedure.

Access SQL. ACE accepts this statement as written here.

DROP TABLE table_name
DROP INDEX index_name ON table_name
DROP VIEW view_name
DROP PROCEDURE procedure_name

The table to delete, or with DROP INDEX, the table the index is on.

The index to delete.

The stored query to delete.

Each statement deletes one object.

DROP TABLE deletes the table’s rows, indexes and long values along with its definition, and frees every page the table owned for reuse.

These follow on from the examples on the CREATE INDEX page.

DROP INDEX ixCustomerDate ON Orders
DROP TABLE Offices