This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dev:sql:orafunctions:chr [2010/07/04 02:23] tdo |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{page>:top_add&nofooter&noeditbtn}} | ||
| - | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
| - | ====== Omnidex SQL Function: ABS ====== | ||
| - | {{page>:sql_bar&nofooter&noeditbtn}} | ||
| - | ===== Description ===== | ||
| - | The ABS function returns the absolute value of column. The return data_type is the same as the data type of the numeric_expression. The numeric_expression can be a column_spec or a set of functions and operators that yield a numeric expression. | ||
| - | ===== Syntax ===== | ||
| - | |||
| - | ABS(numeric-expression) | ||
| - | ===== Examples ===== | ||
| - | select abs(col1) from trans_table; | ||
| - | |||
| - | select abs(4-9) from $omnidex; | ||