Watch the 7.3 Webinar On-Demand
This new release brings updates to Universal Storage, query optimization, and usability that you won’t want to miss.

USE

Use a database or schema.

Syntax

USE db_name | schema_name

Remarks

  • db_name is the name of a SingleStore DB database.
  • schema_name is the name of a SingleStore DB schema.
  • This command must be run on the master aggregator or a child aggregator node (see Node Requirements for SingleStore DB Commands ).

Example

USE test;
Database changed