Skip to main content

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 |
+-------------------+

Enter to send ยท Shift+Enter for a new line