Found answer to my own question: Returns the absolute value of X:
mysql> SELECT ABS(2);
-> 2
mysql> SELECT ABS(-32);
-> 32
This function is safe to use with BIGINT values.
MySQL Reference Manual (C) 2002 MySQL AB
Found answer to my own question: Returns the absolute value of X:
mysql> SELECT ABS(2);
-> 2
mysql> SELECT ABS(-32);
-> 32
This function is safe to use with BIGINT values.
MySQL Reference Manual (C) 2002 MySQL AB