VAR
Last updated
Last updated
Returns the statistical variance of all values in the specified expression. (VAR in Transact-SQL).
VAR ( [ ALL | DISTINCT ] expression )
Code:
SELECT
VAR(VACATIONHOURS)
FROM
HUMANRESOURCES.EMPLOYEE AS VAR;
Result:
VAR|
----------------+
28.7862150320948|