
上QQ阅读APP看书,第一时间看更新
Selecting a keyspace
Once you've created a keyspace, you would want to use it. In order to do this, employ the USE command:
cqlsh> USE "users";
This tells Cassandra that all future commands will implicitly refer to tables inside the users keyspace. If you close the CQL shell and reopen it, you'll need to reissue this command.