blob: e90edc1cc006480fb0d315cba3f431925ce3e2e4 [file] [log] [blame] [view]
---
{
"title": "SWITCH",
"language": "en"
}
---
## SWITCH
### Name
SWITCH
### Description
This statement is used to switch catalog.
Syntax:
```sql
SWITCH catalog_name
```
### Example
1. Switch to hive
```sql
SWITCH hive;
```
### Keywords
SWITCH, CATALOG
### Best Practice