Skip to content

Commit

Permalink
return resultset rather than table
Browse files Browse the repository at this point in the history
  • Loading branch information
philerooski committed Jul 18, 2024
1 parent 3612829 commit c265b5f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
CREATE OR REPLACE PROCEDURE copy_into_table_from_stage(
target_table VARCHAR
)
RETURNS TABLE ()
RETURNS RESULTSET
LANGUAGE SQL
as
$$
Expand All @@ -29,6 +29,6 @@ DECLARE
MATCH_BY_COLUMN_NAME = CASE_SENSITIVE
);
BEGIN
RETURN TABLE(res);
RETURN res;
END;
$$;

0 comments on commit c265b5f

Please sign in to comment.