- (Subtract) (SSIS Expressions)
SQL Server 2008
Subtracts the second numeric expression from the first one.
Determined by the data types of the two arguments. For more information, see Implicit Data Type Conversion in Expressions.
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 Expressions).
ListPrice - (ListPrice * @[Discount%])