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