P_INTERSECT
Translation reference to convert the Teradata operator P_INTERSECT to Snowflake Scripting.
Last updated
Translation reference to convert the Teradata operator P_INTERSECT to Snowflake Scripting.
Last updated
According to Teradata's documentation, the P_INTERSECT operator compares two or more period expressions. If they overlap, it returns the common portion of the period expressions.
For more information regarding Teradata's P_INTERSECT, check .
The PERIOD_INTERSECT_UDF is a Snowflake implementation of the P_INTERSECT operator in Teradata.
The PERIOD(TIME WITH TIME ZONE) and PERIOD(TIMESTAMP WITH TIME ZONE) expressions are not supported yet.
: Snowflake does not support the period datatype, all periods are handled as varchar instead