Skip to content

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

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