BLSHIFT Function

Returns the bitwise logical left shift of two arguments.

Category: Bitwise Logical Operations
Returned data type: DOUBLE

Syntax

Arguments

expression-1

specifies any valid expression that evaluates to a numeric value.

Range between 0 and (232)–1 inclusive
Data type DOUBLE
See <sql-expression>
FedSQL Expressions

expression-2

specifies any valid expression that evaluates to a numeric value.

Range 0 to 31, inclusive
Data type DOUBLE
See <sql-expression>
FedSQL Expressions

Example

The following statements illustrate the BLSHIFT function:
Statements
Results
select blshift(7,2);
28

See Also

Functions: