Skip to main content

CURRENT_CATALOG

Introduced or updated: v1.2.668

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

Syntax

CURRENT_CATALOG()

Examples

SELECT CURRENT_CATALOG();

┌───────────────────┐
│ current_catalog()
├───────────────────┤
default
└───────────────────┘
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today