你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

binary_shift_right()

Applies to: ✅ Microsoft FabricAzure Data ExplorerAzure MonitorMicrosoft Sentinel

Returns 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