PERIOD_INTERSECT_UDF
Definition
User-defined function (UDF) that reproduces the P_INTERSECT operator to compare two or more period expressions and return the overlapping portion of the period expressions.
More information about the source function here.
Parameters
PERIODS
ARRAY
All the period expressions to be compared.
Returns
The overlapped portion of the period expressions.
Migration example
Input:
IN -> Teradata_01.sql
Output:
OUT -> Teradata_01.sql
Last updated