Description
Returns the statistical standard deviation for the population for all values in the specified expression. ().
Sample Source Pattern
Syntax
STDEVP ( [ ALL | DISTINCT ] expression )
STDDEV_POP( [ DISTINCT ] expression_1)
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|