Exasol 6.2 is no longer supported, and this documentation is no longer maintained or updated.
This function returns the logarithm of n with base 2.
log2::=
The number n must be positive.
SELECT LOG2(1024) LOG2;