Skip to content

Commit

Permalink
Testing stored procedure creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-tmathew committed May 9, 2024
1 parent c0a25fd commit d10954e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions demo/basics_demo/V1.0.2__StoredProc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
-- Use the $$ ... $$ to mark the block and execute the code block successfully.
-- The comment from a community user help find the root cause.
-- Link to comment: https://github.com/Snowflake-Labs/schemachange/issues/212#issuecomment-2052187227
$$

CREATE OR REPLACE PROCEDURE output_message(message VARCHAR)
RETURNS VARCHAR NOT NULL
LANGUAGE SQL
AS
BEGIN
SELECT 1;
END;
$$
RETURN message;
END;

0 comments on commit d10954e

Please sign in to comment.