Skip to content
Scott C Gray edited this page Feb 26, 2017 · 2 revisions

Variable

database - Contains the connection's current database

Description

The ${database} variable will contain the name of the database (or 'catalog' in JDBC terminology) of the current session if it connected to a server. In addition, the database context of the current connection can be changed by setting the ${database} variable to the desired database name.

See also

\connect, dflt_database

Clone this wiki locally