ClickHouse/docs/en/sql-reference/statements/use.md
alexey-milovidov 379f8d3d7e
Update use.md
2022-01-29 01:09:46 +03:00

17 lines
378 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
toc_priority: 53
toc_title: USE
---
# USE Statement {#use}
``` sql
USE db
```
Lets you set the current database for the session.
The current database is used for searching for tables if the database is not explicitly defined in the query with a dot before the table name.
This query cant be made when using the HTTP protocol, since there is no concept of a session.