Interval Literal

Interval Literal Not Supported In Current Scenario

Important Notice: Migration of Documentation Website

Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:

Official Snowflake Snowconvert Documentation

For any immediate assistance or if you encounter any issues, please contact our support team at [email protected].

Thank you for your understanding.

Description

Snowflake Intervals can only be used in arithmetic operations. Intervals used in any other scenario are not supported.

Example Code

Input Code Oracle:

IN -> Oracle_01.sql
SELECT INTERVAL '1-5' YEAR TO MONTH FROM DUAL;

Output Code:

OUT -> Oracle_01.sql
SELECT
!!!RESOLVE EWI!!! /*** SSC-EWI-0107 - INTERVAL LITERAL IS NOT SUPPORTED BY SNOWFLAKE IN THIS SCENARIO  ***/!!!
 INTERVAL '1-5' YEAR TO MONTH FROM DUAL;

Known Issues

No issues were found.

  1. SSC-EWI-0107: Interval Literal Not Supported In Current Scenario.

Last updated