BRSHIFT Function

Returns the bitwise logical right 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 statement illustrates the BRSHIFT function:
Statements
Results
select brshift(64,2);
16

See Also

Functions: