Oracle / PLSQL: VAR_POP Function

This article is written about how to use the Oracle/PLSQL VAR_POP characteristic with syntax and examples.

Description

The Oracle/PLSQL VAR_POP characteristic returns the populace 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 earlier than performing its calculations.

Returns

The VAR_POP function returns a numeric value.

Applies To

The VAR_POP characteristic can be used in the following variations of Oracle/PLSQL:

Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i

Example

Let’s look at some Oracle VAR_POP characteristic examples and discover how to use the VAR_POP function in Oracle/PLSQL.

For example:

select VAR_POP(data_length)
from all_tab_columns;