DROP TABLE
Data 360 Query Guide, mirrored from developer.salesforce.com: **Applies to:** ❌ Data 360 SQL ✅ Tableau Hyper API
markdownreferencev1AM84-BDMSguide: data-cloud-query-guidestage: referencetrust: officialsource: developer.salesforce.comservice: data360interface: sqlDROP TABLEData 360Data CloudData 360 Query Guide
Mirror of <https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/dc-sql-reference/drop-table.html> (Salesforce, Data 360 Query Guide), read 2026-10-23. Salesforce's own page is the authority; this copy exists because that site refuses non-browser readers.
DROP TABLE
Applies to: ❌ Data 360 SQL ✅ Tableau Hyper API
Remove a table.
DROP TABLE removes one or more tables from the database. To empty a table of rows without destroying the table, use DELETE or TRUNCATE.
IF EXISTS
Do not throw an error if the table does not exist.
<name>
The name (optionally schema-qualified) of the table to drop.
CASCADE
Automatically drop objects that depend on the table (such as views), and in turn all objects that depend on those objects.
RESTRICT
Refuse to drop the table if any objects depend on it. This is the default.
To destroy two tables, films and distributors:
This command conforms to the SQL standard, except that the standard only allows one table to be dropped per command, and apart from the IF EXISTS option, which is a Hyper extension (also available in PostgreSQL).