All pages
Powered by GitBook
1 of 1

Loading...

Catalog-Specific Functions and Variables

Catalog Functions

catalog()

`catalog()

returns the name of the current catalog.`

Catalog Variables

@@catalogs

One can check if a server supports catalogs with:

1 means that the server is configured for catalogs.

This page is licensed: CC BY-SA / Gnu FDL

MariaDB [def.test]> select catalog();
+-----------+
| catalog() |
+-----------+
| def       |
+-----------+
SELECT @@catalogs;
+------------+
| @@catalogs |
+------------+
|          1 |
+------------+

Catalogs are planned for an upcoming release, and don't yet appear in any current releases.