factorial()

Factorial of x. Computes the product of the current integer and all integers below it

Alias of !

Arguments & returns

factorial(x)

Scalar
Overload link x Returns
#01 INTEGER HUGEINT

Example

factorial example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.