Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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