Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Switch services using the Version drop-down list. Learn more about navigation.
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
PRovides the name of the database in scope (database that all query entities are resolved against if no other database is specified).
Syntax
current_database()
Learn more about syntax conventions.
Returns
Returns name of the database in scope as a value of type string.
Examples
print strcat("Database in scope: ", current_database())