Skip to content

Shifts the bits of a numeric value to the right by a specified number of positions (logical).

func.bit_shift_right_logical(<value>, <shift>)
func.bit_shift_right_logical(16, 2)
┌───┐
4
└───┘
BIT_SHIFT_RIGHT_LOGICAL(<value>, <shift>)
SELECT BIT_SHIFT_RIGHT_LOGICAL(16, 2);
┌───┐
4
└───┘