MSCEWI1082

Auto-Generated code in order to support output parameters in Snowflake Scripting

triangle-exclamation

Severity

Low

Description

This warning is used to inform that some statements are being added to the procedures with output parameters in order to emulate their functionality. The auto-generated code is being added in the procedure with the output parameters and also where this procedure is being called.

Example Code

Input

CREATE OR REPLACE PROCEDURE proc_with_output_parameters(param1 OUT NUMBER, param2 IN OUT NUMBER)
IS
BEGIN
param1 := 123;
param2 := 456;
END;

CREATE OR REPLACE PROCEDURE proc_calling_proc_with_output_parameters
IS
var1 NUMBER;
var2 NUMBER;
BEGIN
proc_with_output_parameters(var1, var2);
END;

Output

Recommendations

Last updated