Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » SQL Anywhere Server - SQL Reference » Using SQL » SQL functions » Alphabetical list of functions


ABS function [Numeric]

Returns the absolute value of a numeric expression.

ABS( numeric-expression )
  • numeric-expression   The number whose absolute value is to be returned.

Standards and compatibility
  • SQL/2003   SQL foundation feature outside of core SQL.


The following statement returns the value 66.

SELECT ABS( -66 );