|| (Logical OR) (SSIS Expression)
SQL Server 2008 R2
Performs a logical OR operation. The expression evaluates to TRUE if one or both conditions are TRUE.
This example uses the StandardCost and ListPrice columns. The example evaluates to TRUE if the value of the StandardCost column is less than 300 or the ListPrice column is greater than 500.
StandardCost < 300 || ListPrice > 500
This example uses the variables SPrice and LPrice instead of numeric literals.
StandardCost < @SPrice || ListPrice > @LPrice