This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
UDFs for the subtraction when one of its values is an interval and the other is a single access which is a reference to a column of type interval.
PUBLIC.INTERVAL_ADD_UDF
(INPUT_VALUE1 VARCHAR(), INPUT_PART1 VARCHAR(30), INPUT_VALUE2 VARCHAR(), INPUT_PART2 VARCHAR(30), OP CHAR, OUTPUT_PART VARCHAR())
The value to be processed.
The time type, e.g. 'HOUR'.
The column reference name, e.g. 'INTERVAL_HOUR_TYPE'
The type of the column referenced.
The sign that is being evaluated.
The output type.