Oracle9i SQL Reference Release 1 (9.0.1) Part Number A90125-01 |
|
Operators, 3 of 6
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 © 1996-2001, Oracle Corporation. All Rights Reserved. |
|