Applies to: Databricks SQL Databricks Runtime
Returns a bitwise signed right shifted by
expr: An INTEGER or BIGINT expression.
n: An INTEGER expression specifying the number of bits to shift.
The result type matches
expr is negative (that is, the highest order bit is set) the result remains negative because the highest order bit is sticky.
n is negative the result is 0.