Skip to main content
VeloDB Cloud 26.x·Apache Doris 4.x (up to 4.0 supported)·"Since X.Y" tags refer to Apache 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 |
+-------------------+