In MariaDB, CRC32()
is a built-in numeric function that computes a cyclic redundancy check value and returns a 32-bit unsigned value.
CRC32 is a popular checksum algorithm used to detect data corruption.
Continue readingDatabase Management Systems
In MariaDB, CRC32()
is a built-in numeric function that computes a cyclic redundancy check value and returns a 32-bit unsigned value.
CRC32 is a popular checksum algorithm used to detect data corruption.
Continue readingIf you need to return the size of a document in MongoDB, you can use the following:
$bsonSize
aggregation pipeline operatorObject.bsonSize()
methodBelow are examples of each approach.
Continue readingIn MariaDB, LOG10()
is a built-in function that returns the base-10 logarithm of its argument.
In MariaDB, LOG2()
is a built-in function that returns the base-2 logarithm of its argument.
In MariaDB, TRUNCATE()
is a built-in numeric function that returns a given number, truncated to a given number of decimal places.
In MariaDB, DIV
performs integer division.
It discards from the division result any fractional part to the right of the decimal point.
Continue readingIn MariaDB, ABS()
is a built-in numeric function that returns the absolute (non-negative) value of its argument.
If you need to add one or more microseconds to a datetime value in MariaDB, here are 8 options to consider.
Continue readingIn MariaDB, ROUND()
is a built-in numeric function that rounds its argument to a given number of decimal places.
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 reading