Purpose
You can use this statement to switch the database in use.
Syntax
USE database_name
Parameters
| Parameter | Description |
|---|---|
| database_name | The name of the database in use. |
Examples
Switch the current database.
obclient> USE test
Database changed
Products
High-quality database products to meet full lifecycle enterprise data management needs.
Resources
Various types of resources about OceanBase and the database industry
Docs
Rich content to meet the content demands of using products and solving product usage problems
OceanBase Database
Download PDF
OceanBase, A Highly Scalable Database for Transactional, Analytical, and AI Workloads.
Resources
© OceanBase 2024. All rights reserved | Cloud Service Agreement | Privacy Policy | Legal | Security
You can use this statement to switch the database in use.
USE database_name
| Parameter | Description |
|---|---|
| database_name | The name of the database in use. |
Switch the current database.
obclient> USE test
Database changed