使用 版本 下拉選單切換服務。 了解更多關於導航的資訊。
Apply to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
PRovides 範圍中資料庫的名稱(如果未指定其他資料庫,則會解析所有查詢實體的資料庫)。
語法
current_database()
深入瞭解 語法慣例。
傳回
傳回範圍中資料庫的名稱做為 類型的 string值。
範例
print strcat("Database in scope: ", current_database())