BITXOR( ) Function

Perform a bitwise exclusive OR operation on two or more values of Numeric, Varbinary, or Blob type and returns the result. There is a numeric and a binary version of the syntax.

BITXOR(nNumericExpression1, nNumericExpression2 ..., nNumericExpression26)
BITXOR(BinaryExpression1, BinaryExpression2 ..., BinaryExpression26)

Parameters

nNumericExpression1, nNumericExpression2, ... , nNumericExpression26

Specifies Numeric values to perform the bitwise exclusive OR operation.

BinaryExpression1, BinaryExpression2, ... , BinaryExpression26

Specifies Varbinary or Blob values to perform the bitwise exclusive OR operation.

NoteNote

You can specify a maximum of 26 values. The specified values must have the same type. If the specified expressions are not integers, they are converted to integers before performing the operation. Not applicable for Varbinary input parameters.

Expand imageReturn Value

Expand imageRemarks

Expand imageExample

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic