Difference between Stored Procedures and UDFs — Snowflake

Calling Methods:

Return Type:

Database Access:

How to choose Snowflake Stored Procedure or a UDFs ?

  • If you are migrating an existing stored procedure from another application or system.
  • If you are performing any database operations such as SELECT, DELETE, CREATE, DELETE
  • If you are migrating an existing UDF from another application or system.
  • In case if you need to use a function as a part of the SQL statement or expression.
  • If your output needs to include a value for every input row or every group.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store