Truncating a Table - Cassandra

Author: Al-mamun Sarkar Date: 2020-09-20 05:07:41

The TRUNCATE command is used to delete all rows of a table form keyspace of the Cassandra Database. 

Truncating a Table:

Syntax:

TRUNCATE tablename;

Example:

TRUNCATE employees;