使用 版本 下拉選單切換服務。 了解更多關於導航的資訊。
Apply to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
結合兩個或多個哈希的哈希值。
語法
hash_combine(
H1,h2 [,h3 ...])
深入瞭解 語法慣例。
參數
| 姓名 | 類型 | 必要 | 描述 |
|---|---|---|---|
| h1、 h2、... hN | long |
✔️ | 要結合的哈希值。 |
傳回
指定純量的組合哈希值。
範例
print value1 = "Hello", value2 = "World"
| extend h1 = hash(value1), h2=hash(value2)
| extend combined = hash_combine(h1, h2)
輸出
| value1 | value2 | h1 | h2 | 組合的 |
|---|---|---|---|---|
| 您好 | World | 753694413698530628 | 1846988464401551951 | -1440138333540407281 |