Numeric Operators
- Last Updated: October 5, 2020
- 1 minute read
- DataDirect Connectors
- ODBC
- Cloudera Impala 7.1
- dBase 7.1
- Flat files/Text 7.1
- MySQL 7.1
- Pervasive (Btrieve) 7.1
- XML 7.1
- Documentation
You can use a numeric operator in an expression to negate, add, subtract, multiply, and divide numeric values. The result of this operation is also a numeric value. The + and - operators are also supported in date/time fields to allow date arithmetic.
The following table lists the supported arithmetic operators.
| Entry SQL Level Operator | Impala SQL Operator |
|---|---|
| N/A | % (Mod) |
| N/A | & (bitwise AND) |
| * | Supported |
| + | Supported |
| - | Supported |
| / | Supported |
| N/A | ^ (XOR) |