CREATE PROCEDURE
A stored procedure is a collection of statements that can be called from other queries or other stored procedures.
Grammar Syntax for SQL procedures
Click here to go to the BigQuery specification for this syntax.
Sample Source Patterns
Basic case
IN Parameter Mode
IN mode parameter is removed, not required in Snowflake.
OUT Parameter Mode
Snowflake does not allow OUTPUT parameters in procedures, one way to simulate this behavior is return its value at the end of the procedure.
INOUT Parameter Mode
Same behavior as output parameters
Options Clause
BigQuery | Snowflake |
---|---|
strict_mode | Not supported in Snowflake, but by default the strict_mode is false. |
description |
Not supported options are removed from the output code.
Last updated