Syntax
SCHEMA()
Purpose
Returns the name of the current schema. This function is equivalent to the DATABASE() function.
Examples
The following example queries the name of the current schema.
obclient> SELECT SCHEMA();
+----------+
| SCHEMA() |
+----------+
| test |
+----------+
1 row in set
