TechNet
Export (0) Print
Expand All

* (Multiply) (SSIS Expression)

 

Applies To: SQL Server 2016

Multiplies two numeric expressions.

  
numeric_expression1 * numeric_expression2  
  

numeric_expression1, numeric_expression2
Is any valid expression of a numeric data type. For more information, see Integration Services Data Types.

Determined by data types of the two arguments. For more information, see Integration Services Data Types in Expressions.

If either operand is null, the result is null.

This example multiplies numeric literals.

5 * 6.09  

This example multiplies values in the ListPrice column by 10 percent.

ListPrice * .10  

This example subtracts the result of an expression from the ListPrice column. The variable Discount% must be enclosed in brackets because the name includes the % character. For more information, see Identifiers (SSIS).

ListPrice - (ListPrice * @[Discount%])  

Operator Precedence and Associativity
Operators (SSIS Expression)

Community Additions

ADD
Show:
© 2016 Microsoft