SSC-FDM-OR0013

The cycle clause was is not supported in Snowflake.

circle-info

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 Documentationarrow-up-right

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

Thank you for your understanding.

circle-info

This FDM is deprecated, please refer to SSC-EWI-OR0039 documentation.

Description

This message is shown when SnowConvert finds a query with a CYCLE clause. Which is not supported in Snowflake, so it is commented out from the code.

This clause marks when there is a recursion.

For more details see the documentationarrow-up-right about the clause functionality.

Example Code

Connect By

Input Code:

CREATE OR REPLACE FORCE NONEDITIONABLE VIEW VIEW01 AS
SELECT
      UNIQUE A.*
FROM
      TABLITA A
WHERE
      A.X = A.C CONNECT BY NOCYCLE A.C = 0 START WITH A.B = 1
HAVING
      X = 1
GROUP BY
      A.C;

Output Code:

Recommendations

Last updated