Best Ways to Drop Cassandra Keyspace [Drop]

How to DROP KEYSPACE In Cassendra

KEYSPACE can be drop using the DROP KEYSPACE statement.

Syntax:-
DROP KEYSPACE [ IF EXISTS ] keyspace_name

Example:-
 DROP KEYSPACE [ IF EXISTS ] Customer;

If we are dropping a KEYSPACE that also drop the including all the tables, UTD and functions in it, and all the data contained in those tables.
Best Ways to Drop Cassandra Keyspace [Drop] Best Ways to Drop Cassandra Keyspace [Drop] Reviewed by Alok Singh on 21:35 Rating: 5
Powered by Blogger.