USE

Selects the keyspace for the current client session.

Identifies the keyspace for the current client session. All subsequent operations on tables and indexes are in the context of the named keyspace, unless otherwise specified or until the client connection is terminated or another USE statement is issued.

To use a case-sensitive keyspace, enclose the keyspace name in single quotes.

Synopsis

USE keyspace_name ;

Show syntax legend

Example

USE PortfolioDemo;
USE "Excalibur";