PI Function [Numeric]

Returns the numeric value PI.

Syntax

PI* )

Returns

DOUBLE

Standards and Compatibility

  • SQL—Vendor extension to ISO/ANSI SQL grammar.

  • Sybase—The PI() function is supported in Adaptive Server, but PI(*) is not.

Example

The following statement returns the value 3.141592653....

SELECT PI( * ) FROM iq_dummy