Search Shortcut cmd + k | ctrl + k
Search cmd+k ctrl+k
1.0 (stable)
USE Statement

The USE statement selects a database and optional schema to use as the default.


--- Sets the 'memory' database as the default
USE memory;
--- Sets the 'duck.main' database and schema as the default
USE duck.main;


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.

About this page

Last modified: 2024-07-22