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.
No comments:
Post a comment