OR (SQL Server Compact Edition)
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 2005 Compact Edition that returns TRUE, FALSE, or UNKNOWN.
Result Types
bit
Return Value
OR returns TRUE when either of the conditions is TRUE.