PIOn this pageSyntaxReturn TypeExamples Returns the value of pi to 7 decimal places. The full double precision value is used internally if PI() is used as part of an expression. Syntax SQLCopyPI() Return Type Double. Examples SQLPlaygroundCopySELECT PI();+----------+ | PI() | +----------+ | 3.141593 | +----------+ Last modified: February 24, 2023