log is computed needs to be larger than 0, otherwise an error is returned.
If a base is provided, it also needs to be larger than 0 and not equal to 1.
You can use the function LN to compute the natural logarithm (base e).
Alias: LOG10 (does not support a custom base argument)
Syntax
Parameters
Return Type
DOUBLE PRECISION
Example
The following example returns the logarithm of 64.0 to base 2:Rows: 1Execution time: 5.31ms
Rows: 1Execution time: 5.68ms
Rows: 0Execution time: 0.69ms
Rows: 0Execution time: 0.68ms