Cassandra DROP Table
To drop a table in Cassandra, the DROP TABLE command is used.
Syntax:
DROP TABLE table_name
Example:
DROP TABLE employees; |
Explanation:
In the above example, the table named “employees” is dropped. Use the “DESCRIBE” command for the verification of the table deletion.
DESCRIBE COLUMNFAMILIES;