Use Database


This documentation has been retired and might not be updated. The products, services, or technologies mentioned in this content are 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.