One or more identifiers in a specific statement are considered parameters by default.
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:
For any immediate assistance or if you encounter any issues, please contact our support team at [email protected].
Thank you for your understanding.
The EWI is only generated when Javascript is the target language for Stored Procedures. This is a deprecated translation feature, as Snowflake Scripting is the recommended target language for Stored Procedures.
Some parts in the output code are omitted for clarity reasons.
Severity
Medium
Description
This error is used to report that one or more identifiers in a specific statement are considered parameters by default.
Example Code
Input Code:
IN -> Teradata_01.sql
-- Additional Params: -t javascriptCREATE MACRO SAME_MACRO_COLUMN_AND_PARAMATERS (LOAD_USER_ID (VARCHAR (32), CHARACTERSET LATIN),UPDATE_USER_ID (VARCHAR (32), CHARACTERSET LATIN)) AS (UPDATE TABLE1 SET LOAD_USER_ID = :LOAD_USER_ID, UPDATE_USER_ID = :UPDATE_USER_ID;INSERT INTO TABLE1 (LOAD_USER_ID, UPDATE_USER_ID) VALUES (:LOAD_USER_ID, :UPDATE_USER_ID);DELETEFROM TABLE1 WHERE :LOAD_USER_ID = LOAD_USER_ID;);
Output Code:
Recommendations
Make sure all the dependencies(tables and views) related to the procedure statement are being migrated.