Oracle / PLSQL: VAR_POP Function
This Oracle tutorial explains how to use the Oracle/PLSQL VAR_POP function with syntax and examples.
Description
The Oracle/PLSQL VAR_POP function returns the population variance of a set of numbers.
Syntax
The syntax for the VAR_POP function in Oracle/PLSQL is:
VAR_POP( expression )
Parameters or Arguments
- expression
- A numeric expression that is used in the calculation.
Note
- The VAR_POP function eliminates all null values before performing its calculations.
Returns
The VAR_POP function returns a numeric value.
Applies To
The VAR_POP function can be used in the following versions of Oracle/PLSQL:
- Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i
Example
Let's look at some Oracle VAR_POP function examples and explore how to use the VAR_POP function in Oracle/PLSQL.
For example:
select VAR_POP(data_length) from all_tab_columns;
Advertisements