Редагувати

Поділитися через


() (Parentheses) (SSIS Expression)

Applies to: SQL Server SSIS Integration Runtime in Azure Data Factory

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.

Syntax

  
(expression)  
  

Arguments

expression
Is any valid expression.

Result Types

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

Expression Examples

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  
  

See Also

Operator Precedence and Associativity
Operators (SSIS Expression)