Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.87 KB

multiply-ssis-expression.md

File metadata and controls

62 lines (43 loc) · 1.87 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
* (Multiply) (SSIS Expression)
* (Multiply) (SSIS Expression)
chugugrace
chugu
03/01/2017
sql
integration-services
conceptual
* (multiply operator)
multiply operator (*)

* (Multiply) (SSIS Expression)

[!INCLUDEsqlserver-ssis]

Multiplies two numeric expressions.

Syntax

  
numeric_expression1 * numeric_expression2  
  

Arguments

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

Result Types

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

Remarks

If either operand is null, the result is null.

Expression Examples

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%])  

See Also

Operator Precedence and Associativity
Operators (SSIS Expression)