Updating Data - Cassandra

Updating Data - Cassandra

Instructor-svgAl-Mamun Sarkar
Sep 20 , 2020

Like SQL Cassandra also use the UPDATE command to update data of a Cassandra table.

Updating Data in a Cassandra Table:

Syntax:

UPDATE table_name
SET 
   column1 = new_value_1,
   column2 = new_value_2,
   ....
WHERE condition;
UPDATE employees 
SET
    city = 'Gazipur',
    salary = 12432
WHERE id = 3;

 

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