PROCEDURE BODY
Description
Like Redshift, Snowflake supports CREATE PROCEDURE using $$ procedure_logic $$ as the body. There is a difference in the Redshift syntax where a word can be inside the $$ like $word$ and used as a delimiter body like $word$ procedure_logic $word$. SnowConvert will transform it by removing the word, leaving the $$.
Grammar Syntax
AS
$Alias$
procedure_body
$Alias$ Sample Source Patterns
Input Code:
CREATE OR REPLACE PROCEDURE SP()
AS
$somename$
BEGIN
NULL;
END;
$somename$
LANGUAGE plpgsql;Output Code:
Known Issues
There are no known issues.
Related EWIs.
There are no related EWIs.
Last updated
