Click to Rate and Give Feedback
MSDN
MSDN Library
SQL Server
SQL Server 2005
 PI (Transact-SQL)
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
SQL Server 2005 Books Online (November 2008)
PI (Transact-SQL)

Returns the constant value of PI.

Topic link icon Transact-SQL Syntax Conventions

PI ( )

float

The following example returns the value of PI.

SELECT PI()
GO

Here is the result set.

------------------------
3.14159265358979

(1 row(s) affected)
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker