Arithmetic operators
Operators
Translation for Arithmetic Operators
Conversion Table
Sample Source Patterns
Addition, Subtraction, Positive & Negative
Input Code:
IN -> Redshift_01.sql
Output Code:
OUT -> Redshift_01.sql
Exponentiation, multiplication, division & modulo
Input Code:
IN -> Redshift_02.sql
Output Code:
OUT -> Redshift_02.sql
Absolute value, Square root and Cube root
Input Code:
IN -> Redshift_02.sql
Output Code:
OUT -> Redshift_02.sql
Known Issues
In Snowflake, it is possible to use the unary operators
+
and-
with string values, however in Redshift it is not valid.
Related EWIs
No related EWIs.
Last updated