Truncating a Table - Cassandra

Truncating a Table - Cassandra

Instructor-svg Al-Mamun Sarkar
Sep 20 , 2020

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;

 

  • Share On:
  • fb
  • twitter
  • pinterest
  • instagram