Share via


* (Multiply) (SSIS Expressions)

Multiplies two numeric expressions.

Syntax

numeric_expression1 * numeric_expression2

Arguments

Result Types

Determined by data types of the two arguments. For more information, see Implicit Data Type Conversion in Expressions.

Remarks

If either operand is null, the result is null.

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 Expressions).

ListPrice - (ListPrice * @[Discount%])