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: ✅ 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())