USE Statement#
The USE statement sets the current catalog and namespace.
Examples#
Set the session's current_catalog to my_catalog.
1 | |
Set the session's current_catalog to my_catalog, and current_namespace to my_namespace.
1 | |
Rules#
- If the catalog does not exist, this will raise an error.
- If no namespace is given, then
current_namespaceis set toNULL.
Syntax#
1 2 3 4 5 6 7 8 9 | |
Work in Progress
The SQL Reference documents are a work in progress.