DROP TABLE

Remove the named table.

Remove the named table.

Synopsis 

DROP TABLE keyspace_name.table_name  
Legend
  • Uppercase means literal
  • Lowercase means not literal
  • Italics mean optional
  • The pipe (|) symbol means OR or AND/OR
  • Ellipsis (...) means repeatable

A semicolon that terminates CQL statements is not included in the synopsis.

Description 

A DROP TABLE statement results in the immediate, irreversible removal of a table, including all data contained in the table. You can also use the alias DROP COLUMNFAMILY.

Dropping a table triggers an automatic snapshot, which backs up the data only, not the schema.

Example 

DROP TABLE worldSeriesAttendees;