ABS |
ABS(n) |
Returns the absolute value of a number: the value with any negative sign removed.
Example
SQL> SELECT ABS(-1), ABS(1) 2 FROM dual; ABS(-1) ABS(1) ---------- ---------- 1 1
Get Oracle SQL: the Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.