Apache Cassandra 1.0 Documentation

DROP KEYSPACE

This document corresponds to an earlier product version. Make sure you are using the version that corresponds to your version.

Latest Cassandra documentation | Earlier Cassandra documentation

Removes the keyspace.

Synopsis

DROP KEYSPACE <name>;

Description

A DROP KEYSPACE statement results in the immediate, irreversible removal of a keyspace, including all column families and data contained in the keyspace.

Example

DROP KEYSPACE MyTwitterClone;