&& 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 is a binary operator that computes the logical AND of its operands.

Operator Description

The binary && operator is predefined for the Logical type. It computes the logical AND of its operands; that is, the result is true if, and only if both its operands are true. The second operand is only evaluated if it must be to determine the result of the && operator. If the first operand evaluates to false, the second operand is not evaluated because the && operator returns false regardless of the second operand's value.