bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL Server PI() Function

Concept visual

SQL Server PI() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Return the value of PI:

SELECT PI();

Definition and Usage

The PI() function returns the value of PI.

Note:

Also look at the DEGREES()

and

Radians()

functions.

Syntax

Pi()

Technical Details

Works in:

SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse

Previous

❮ SQL Server Functions

Next

Previous

SQL Server MIN() Function

Next

SQL Server POWER() Function