C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
Cassandra DROP tableDROP TABLE command is used to drop a table. Syntax: DROP TABLE <tablename> Example: Let's take an example to demonstrate how to drop a table. Here, we drop the student table. Prior table: After using the following command: DROP TABLE student; The table named "student" is dropped now. You can use DESCRIBE command to verify if the table is deleted or not. Here the student table has been deleted; you will not find it in the column families list. DESCRIBE COLUMNFAMILIES; Output:
Next TopicCassandra truncate table
|