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 to use. |
Examples
Switch the current database.
obclient> USE test
Database changed
OceanBase Database
Download PDF
You can use this statement to switch the database in use.
USE database_name
| Parameter | Description |
|---|---|
| database_name | The name of the database to use. |
Switch the current database.
obclient> USE test
Database changed