Use Database


This documentation has been retired and might not be updated. The product, service, or technology mentioned in this content is no longer supported. See USE SCHEMA.

USE db_name

Set the current database. All subsequent commands that do not explicitly specify a database will use this one. If the provided database does not exist, an exception is thrown. The default current database is default.