USE Statement
The USE statement selects a database and optional schema to use as the default.
Examples
--- Sets the 'memory' database as the default USE memory; --- Sets the 'duck.main' database and schema as the default USE duck.main;
Syntax
The USE statement sets a default database or database/schema combination to use for future operations. For instance, tables created without providing a fully qualified table name will be created in the default database.
© Copyright 2018–2024 Stichting DuckDB Foundation
Licensed under the MIT License.
https://duckdb.org/docs/sql/statements/use.html