Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Databricks SQL
Databricks Runtime
Returns the current schema. This function is an alias for current_schema function.
current_database()
This function takes no arguments
A STRING.
> SELECT current_database();
default