Example
Return the value of PI:
sql
SELECT PI();
Definition and Usage
The PI() function returns the value of PI.
Note: Also look at the DEGREES() and RADIANS() functions.
Syntax
text
PI()
Technical Details
| Works in: | SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse |
|---|