ClickHouse/docs/en/sql-reference/statements/use.md
2022-08-28 10:53:34 -04:00

418 B
Raw Blame History

slug sidebar_position sidebar_label
/en/sql-reference/statements/use 53 USE

USE Statement

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.