USE
Warning
SingleStore 9.0 gives you the opportunity to preview, evaluate, and provide feedback on new and upcoming features prior to their general availability. In the interim, SingleStore 8.9 is recommended for production workloads, which can later be upgraded to SingleStore 9.0.
On this page
Use a database or schema.
Syntax
USE db_name
Remarks
-
db_
is the name of a SingleStore database.name -
This command must be run on the master aggregator or a child aggregator node (see Node Requirements for SingleStore Commands ).
-
Refer to the Permission Matrix for the required permission.
Example
USE test;
Database changed
Last modified: May 23, 2024