PI¶
The PI function is used to retrieve the mathematical constant π (pi), which is approximately 3.141592653589793. The function takes no arguments.
Syntax¶
Examples¶
Let's consider a table named SingleItem with the following schema:
Insert a row into the SingleItem table:
Example 1: Using PI function¶
Result:
Errors¶
The PI function expects no arguments. Providing any arguments will result in an error.
Example 2: Using PI with an argument¶
Error: Function expects 0 arguments, but 1 was provided.