When would you use stored procedures, UDFs, or external functions in Snowflake?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Explain when to choose a stored procedure, a user-defined function or an external function in Snowflake. It tests how each one is invoked from SQL, which of them can change data, where the code runs, and the latency and governance costs of calling an outside service.