current_catalog
function
Applies to: Databricks SQL Databricks Runtime
Returns the current catalog.
Syntax
current_catalog()
Arguments
This function takes no argument.
Returns
A STRING.
Examples
> SELECT current_catalog();
spark_catalog
Related functions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for