简体   繁体   中英

Is there a way to delete records in AWS Managed Cassandra Service table using any operator

I'm getting syntax error when using like operator to delete all the records in my table

n

Your delete query is wrong. You have to define the partition key / clustering key in a cassandra delete query.

https://www.guru99.com/cassandra-query-language-cql-insert-update-delete-read-data.html

To delete all records in a table:

truncate mytable;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM