Bitwise Exclusive Or Operator ("M" Reference)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

The ^ operator functions as an exclusive OR operator.

Operator Description

The binary ^ operator is predefined for the Binary and Byte types. For both types, the ^ operator computes the exclusive bitwise OR of its operands. The operands are implicitly converted to the same length. The smaller operand is padded with zeros on the left.