This topic has not yet been rated - Rate this topic

() (Parentheses) (SSIS Expressions)

Identifies the evaluation order of expressions. Expressions enclosed in parentheses have the highest evaluation precedence. Nested expressions enclosed in parentheses are evaluated in inner-to-outer order.

Parentheses are also used to make complex expressions easier to understand.

(expression)
expression

Is any valid expression.

The data type of expression. For more information, see Integration Services Data Types.

This example shows how the use of parenthesis modifies the precedence of operators. The first expression evaluates to 100, whereas the second one evaluates to 31.

(5 + 5) * (4 + 6)
5 + 5 * 4 + 6

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.