TIMESTAMP DIFF UDF
Description
Snowflake does not support the addition operation between TIMESTAMP
data types with the -
operand. In order to replicate this functionality, we have added a custom UDF.
Custom UDF overloads
TIMESTAMP_DIFF_UDF(timestamp, timestamp)
Parameters
LEFT_TS: The first
TIMESTAMP
of the operation.RIGHT_TS: The
TIMESTAMP
to be added.
Oracle
IN -> Oracle_01.sql
Snowflake
OUT -> Oracle_01.sql
Known Issues
1. TIMESTAMP format may differ from Oracle
The TIMESTAMP
format may differ from Oracle, please consider the TIMESTAMP_OUTPUT_FORMAT
setting when working with TIMESTAMP
data types.
Related EWIs
No related EWIs.
Last updated