- (Subtract)

Subtracts two numbers.

Syntax

expression-expression

Arguments

expression
Any valid expression of any one of the numeric data types.

Result Types

The data type that results from the implicit type promotion of the two arguments.

Example

SELECT VALUE product FROM Products AS product 
where product.Price = @price1 - @price2

Last edited Mar 25, 2013 at 10:08 AM by ansiboy, version 1

Comments

No comments yet.