Join the SingleStore Community Today
Get expert advice, develop skills, and connect with others.

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

memsql> USE test;
Database changed