SSC-EWI-PG0008
The use of interval within a to_char function is not compatible with Snowflake.
Severity
High
Description
The use of interval
within the to_char
to convert date/times data types into text is not supported in Snowflake.
Code Example
Input Code:
SELECT to_char(interval '15h 2m 12s', 'HH24:MI:SS');
Output Code:
SELECT to_char(INTERVAL '15h, 2m, 12s', 'HH24:MI:SS') !!!RESOLVE EWI!!! /*** SSC-EWI-PG0008 - THE USE OF INTERVAL WITHIN TO_CHAR IS NOT SUPPORTED BY SNOWFLAKE. ***/!!!;
For more information please refer to
Recommendations
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated