SSC-EWI-OR0078

Unable to parse dynamic SQL statement inside Execute Immediate.

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.

Severity

Medium

Description

SnowConvert could not parse the dynamic SQL statement inside the Execute Immediate.

circle-info

Generate Procedures and Macros using JavasScript as the target language adding the following flag -t JavaScript or --PLTargetLanguage JavaScript

Example Code

Oracle:

IN -> Oracle_01.sql
--Additional Params: -t JavaScript
CREATE OR REPLACE PROCEDURE PROC1 AS
BEGIN
    EXECUTE IMMEDIATE 'NOT A VALID SQL STATEMENT';
END;

Snowflake Scripting:

Recommendations

  • Check the dynamic SQL statement for any syntax error.

  • Review the SnowConvert documentation to see if the statement is still unsupported.

  • If you need more support, you can email us at [email protected]envelope

Last updated