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.
Syntax
current_database()
Arguments
This function takes no arguments
Returns
A STRING.
Examples
> SELECT current_database();
default