Returns the constant value 3.1415926535897936.
pi()
select pi()
------------------- 3.141593
pi, a mathematical function, returns the constant value of 3.1415926535897931.
For general information about mathematical functions, see “Mathematical functions”.
SQL92 – Compliance level: Transact-SQL extension.
Any user can execute pi.