Pages

Men

rh

7/03/2012

VAR Function in SQL SERVER 2008

VAR Function in SQL SERVER 2008:-
Returns the statistical variance of all values in the specified expression.


Remarks:-
If VAR is used on all items in a SELECT statement, each value in the result set is included in the calculation. VAR can be used with numeric columns only. Null values are ignored.


Example:-



No comments :

Post a Comment