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.
Switch services using the Version drop-down list. Learn more about navigation.
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Performs a binary shift right operation on a pair of numbers.
Syntax
binary_shift_right(value,shift)
Learn more about syntax conventions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| value | int |
✔️ | The value to shift right. |
| shift | int |
✔️ | The number of bits to shift right. |
Returns
Returns binary shift right operation on a pair of numbers: value >> (shift%64). If n is negative, a NULL value is returned.
Examples
binary_shift_right(1,2)
Output
| Result |
|---|
| 0 |