/    /  Cassandra – Update Data

Cassandra – Update Data

Update Command allows us to update the one or more columns values in cassandra table. To update the multiple columns , we need to seperate the name-value pairs using commas.

Syntax:

UPDATE keyspace_name.table_name
USING option AND option
SET assignment, assignment, ...
WHERE row_specification

Example:

UPDATE users SET city = 'Banglore' WHERE userID = '1020'