BIT_SHIFT_RIGHT

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

Analyze Syntax

func.bit_shift_right(<value>, <shift>)

Analyze Examples

func.bit_shift_right(16, 2)

┌───┐
 4  
└───┘

SQL Syntax

BIT_SHIFT_RIGHT(<value>, <shift>)

SQL Examples

SELECT BIT_SHIFT_RIGHT(16, 2);

┌───┐
 4  
└───┘