หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Applies to:
Databricks SQL
Databricks Runtime
Returns a bitwise left shifted by n bits.
Syntax
shiftleft(expr, n)
Arguments
expr: AnINTEGERorBIGINTexpression.n: AnINTEGERexpression.
Returns
The result matches the type of expr.
If n is less than 0 the result is 0.
Examples
> SELECT shiftleft(2, 1);
4