Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

- (Subtract) (SSIS)

Subtracts the second numeric expression from the first one.

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 the data types of the two arguments. For more information, see Data Type Conversion in Expressions.

If either operand is null, the result is null.

This example subtracts numeric literals.

5 - 6.09

This example subtracts the value in the StandardCost column from the value in the ListPrice column.

ListPrice - StandardCost

This example subtracts a calculated value 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%])
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.