Oracle8i SQL Reference Release 2 (8.1.6) A76989-01 |
|
Operators, 4 of 10
You can use an arithmetic operator in an expression to negate, add, subtract, multiply, and divide numeric values. The result of the operation is also a numeric value. Some of these operators are also used in date arithmetic. Table 3-2 lists arithmetic operators.
Do not use two consecutive minus signs (--) in arithmetic expressions to indicate double negation or the subtraction of a negative value. The characters -- are used to begin comments within SQL statements. You should separate consecutive minus signs with a space or a parenthesis.
|
![]() Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|