Skip to main content
InterviewHubPRO
Section Overview
Q21

Question 21 of 50

Part 2: Security, Governance, Performance & Sharing (11 - 24)

42%
Snowflake Data Cloud (50 Qs)•Part 2: Security, Governance, Performance & Sharing (11 - 24)

What are Stored Procedures vs User-Defined Functions (UDFs) in Snowflake?

junior LevelFormsPerformanceSecurity & Auth

In Simple Words:

  • UDF: Calculates and returns a single value or table. Can be invoked directly in SELECT queries.
  • Stored Procedure: Executes administrative tasks, dynamic SQL, and transaction management via CALL procedure_name().