Edit

Share via


current_database()

Applies to: ✅ Microsoft FabricAzure Data ExplorerAzure MonitorMicrosoft 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())