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

SQL Anywhere 11.0.0 » UltraLite - Database Management and Reference » UltraLite SQL Reference » UltraLite SQL function reference » Alphabetical list of functions

 

ABS function [Numeric]

Returns the absolute value of a numeric expression.

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

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

Example

The following statement returns the value 66.

SELECT ABS( -66 );