Skip to content

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

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