DEFAULT PARAMETERS
This article is about the current transformation of the default parameters and how their functionality is being emulated.
Some parts in the output code are omitted for clarity reasons.
Description
A default parameter is a parameter that has a value in case an argument is not passed in the procedure or function call. Since Snowflake doesn't support default parameters, SnowConvert inserts the default value in the procedure or function call.
In the declaration, the DEFAULT VALUE clause of the parameter is removed. Both syntaxes, the :=
symbol and the DEFAULT
clause, are supported.
Sample Source Patterns
Sample auxiliary code
Default parameter declaration
Oracle
Snowflake Scripting
Calling procedures with default parameters
Oracle
Snowflake Scripting
In order to check that the functionality is being emulated correctly the following query is going to execute the procedure and a SELECT
from the table mentioned before.
Oracle
Snowflake Scripting
Calling procedures with named arguments and default parameters
Oracle
Snowflake Scripting
In order to check that the functionality is being emulated correctly the following query is going to execute the procedure and a SELECT
from the table mentioned before.
Oracle
Snowflake Scripting
Known Issues
1. No issues found
Related EWIs
SSC-FDM-0019: Sematic information could not be loaded.
Last updated