In MariaDB, LOG2()
is a built-in function that returns the base-2 logarithm of its argument.
Category: MariaDB
How TRUNCATE() Works in MariaDB
In MariaDB, TRUNCATE()
is a built-in numeric function that returns a given number, truncated to a given number of decimal places.
How DIV Works in MariaDB
In MariaDB, DIV
performs integer division.
It discards from the division result any fractional part to the right of the decimal point.
Continue readingHow ABS() Works in MariaDB
In MariaDB, ABS()
is a built-in numeric function that returns the absolute (non-negative) value of its argument.
8 Ways to Add Microseconds to a Datetime Value in MariaDB
If you need to add one or more microseconds to a datetime value in MariaDB, here are 8 options to consider.
Continue readingHow ROUND() Works in MariaDB
In MariaDB, ROUND()
is a built-in numeric function that rounds its argument to a given number of decimal places.
How ASIN() Works in MariaDB
In MariaDB, ASIN()
is a built-in numeric function that returns the arcsine (inverse sine) of its argument.
In other words, it returns the value whose sine is the argument.
Continue readingHow RAND() Works in MariaDB
In MariaDB, RAND()
is a built-in function that returns a random DOUBLE
precision floating point value v
in the range 0 <= v < 1.0
.
How ACOS() Works in MariaDB
In MariaDB, ACOS()
is a built-in numeric function that returns the arccosine (inverse cosine) of its argument.
In other words, it returns the value whose cosine is the argument.
Continue readingMariaDB POWER() Explained
In MariaDB, POWER()
is a synonym to POW()
, which is built-in function that returns the value of its first argument raised to the power of its second argument.