Thursday 5 March 2020

Cassandra: Drop Secondary Index

The DROP INDEX statement is used to drop an existing secondary index

Syntax
<drop-index-stmt> ::= DROP INDEX ( IF EXISTS )? ( <keyspace> '.' )? <identifier>

Example
DROP INDEX userIndex;
DROP INDEX userkeyspace.address_index;


Previous                                                    Next                                                    Home

No comments:

Post a Comment