Skip to main content
VeloDB Cloud 4.x·Apache Doris 3.x·"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 |
+-------------------+