Outdated Version

You are viewing an older version of this section. View current production version.

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