傳回 PI 的常數值。
Transact-SQL 語法慣例
PI ( )
float
下列範例會傳回 PI 的值。
PI
SELECT PI() GO
以下為結果集:
------------------------ 3.14159265358979 (1 row(s) affected)