Right shift

Right shift operator.

Shifts the bits of the left integer operand right by the number of positions in the right operand.

Category: bitwise

SQL symbol: >>

Example

SELECT 1 >> 1;

Signatures

  • integer >> integer → integer

Types

  • Left: integer
  • Right: integer
  • Result: integer