OR (SQL Server Compact)

Combines two conditions. When more than one logical operator is used in a statement, OR operators are evaluated after AND operators. You can change the order of evaluation by using parentheses.

Syntax

Boolean_expression OR Boolean_expression

Arguments

  • Boolean_expression
    Any valid expression in Microsoft SQL Server Compact 3.5 that returns TRUE, FALSE, or UNKNOWN.

Result Types

bit

Return Value

OR returns TRUE when either of the conditions is TRUE.