CURRENT_CATALOG



Returns the name of the catalog currently in use for the session.

Syntax

CURRENT_CATALOG()

Examples

SELECT CURRENT_CATALOG(); ┌───────────────────┐ │ current_catalog() │ ├───────────────────┤ │ default │ └───────────────────┘

Was this page helpful?