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