Returns the absolute value of a numeric expression.
ABS ( numeric-expression )
numeric-expression The number whose absolute value is to be returned.
The following statement returns the value 66:
SELECT ABS( -66 ) FROM iq_dummy
SQL92 Vendor extension
Sybase Compatible with Adaptive Server Enterprise