CodesJava

Easy learning with example program codes

DROP Table in Cassandra

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;

Please follow and like us:
error









Copyright © 2019 CodesJava DMCA.com Protection Status