Table of Contents

Search

  1. About the Data Vault SQL Reference
  2. Introduction to SQL Reference for Informatica Data Vault
  3. Date and Time Arithmetic
  4. WHERE Clauses
  5. UNION Operator
  6. Parameterized Query
  7. Functions

Data Vault SQL Reference

Data Vault SQL Reference

ABS

ABS

A math function that returns the absolute value of the input expression.

ABS Syntax

ABS (double)

ABS Examples

Input
Output
-1
1
1
1
CREATE TABLE num_table (col1 SMALLINT); INSERT INTO num_table VALUES (-1); 1 row affected INSERT INTO num_table VALUES (1); 1 row affected SELECT ABS(col1) FROM num_table; 2 rows selected 1 ------ 1

0 COMMENTS

We’d like to hear from you!