DROP
Deletes a table, an index, a view or a stored procedure.
Access SQL. ACE accepts this statement as written here.
Syntax
Section titled “Syntax”DROP TABLE table_name
DROP INDEX index_name ON table_name
DROP VIEW view_name
DROP PROCEDURE procedure_nameArguments
Section titled “Arguments”table_name
Section titled “table_name”The table to delete, or with DROP INDEX, the table the index is on.
index_name
Section titled “index_name”The index to delete.
view_name, procedure_name
Section titled “view_name, procedure_name”The stored query to delete.
Remarks
Section titled “Remarks”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.
Examples
Section titled “Examples”These follow on from the examples on the CREATE INDEX page.
DROP INDEX ixCustomerDate ON OrdersDROP TABLE Offices