/ (Divide)

Divides one number by another.

Syntax

dividend/divisor

Arguments

dividend
The numeric expression to divide. dividend is any valid expression of any one of the numeric data types.
divisor
The numeric expression to divide the dividend by. divisor is 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.ListPrice =  @price1 / @price2

Last edited Mar 25, 2013 at 9:58 AM by ansiboy, version 2

Comments

No comments yet.