Skip to main content
Returns the name of the current database. If no database is selected, an empty value is returned.

Syntax

Parameters

This function does not require parameters.

Return value

Returns the name of the current database as a string.

Examples

See also

USE: Switches to a destination database.