Skip to main content
VeloDB Cloud 26.x·Apache Doris 4.x (≤ 4.0 supported)·"Since X.Y" tags refer to Doris versionsversion mapping →

CURRENT_CATALOG

Description

Get the catalog of the current sql client connection.

Syntax

CURRENT_CATALOG()

Return Value

The catalog name of the current sql client connection.

Examples

select current_catalog();
+-------------------+
| current_catalog() |
+-------------------+
| internal |
+-------------------+