current_database()(当前数据库)

适用于:✅✅Azure 数据资源管理器Azure Monitor✅ Sentinel

PRovides 范围中数据库的名称(如果未指定其他数据库,则会解析所有查询实体的数据库)。

语法

current_database()

详细了解语法约定

返回

以类型 string形式返回作用域中数据库的名称。

例子

print strcat("Database in scope: ", current_database())