Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Var

SQL Server 2000

Var

Returns the sample variance of a numeric expression evaluated over a set, using the unbiased population formula.

Syntax

Var(«Set»[, «Numeric Expression»])

Remarks

The Var function returns the unbiased variance of a numeric expression, specified in «Numeric Expression», evaluated over a set specified in «Set».

The Var function uses the unbiased population formula, while the VarP function uses the biased population formula.

Example
Var ({USA, CANADA, MEXICO}, Sales) 
 

See Also

VarP

Show:
© 2015 Microsoft