Description
Returns the statistical standard deviation for the population for all values in the specified expression. (STDVEP in Transact-SQL).
Sample Source Pattern
Syntax
STDEVP ( [ ALL | DISTINCT ] expression )
Examples
Code:
SELECT
STDEVP(VACATIONHOURS) AS STDEVP_VACATIONHOURS
FROM
HumanResources.Employee;
Result:
STDEVP_VACATIONHOURS|
--------------------+
28.736540767245085|
Code:
SELECT
STDDEV_POP(VACATIONHOURS) AS STDEVP_VACATIONHOURS
FROM
HumanResources.Employee;
Result:
STDEVP_VACATIONHOURS|
--------------------+
28.736540763|