STDEV (Transact-SQL)
SQL Server 2005
Returns the statistical standard deviation of all values in the specified expression. May be followed by the OVER clause.
Transact-SQL Syntax Conventions
- ALL
-
Applies the function to all values. ALL is the default.
- DISTINCT
-
Specifies that each unique value is considered.
- expression
-
Is a numeric expression. Aggregate functions and subqueries are not permitted. expression is an expression of the exact numeric or approximate numeric data type category, except for the bit data type.
Reference
Aggregate Functions (Transact-SQL)OVER Clause (Transact-SQL)