PI
Description
Sample Source Pattern
Syntax
PI( )Arguments
Return Type
Examples
CREATE PROCEDURE CIRCUMFERENCE @radius float
AS
SELECT 2 * PI() * @radius;
GO:
EXEC CIRCUMFERENCE @radius = 2;
CIRCUMFERENCE @radius = 2 |
--------------------------+
12.5663706143592|Last updated
Was this helpful?