Which Snowflake object can be accessed in the FROM clause of a query, returning a set of rows having one or more columns?
Which Snowflake object can be accessed in the FROM clause of a query, returning a set of rows having one or more columns?
A User-Defined Table Function (UDTF) is designed to return a set of rows, which means it can be accessed in the FROM clause of a query. Scalar User Defined Functions (UDFs), stored procedures, and tasks do not return sets of rows in a way that allows them to be used in the FROM clause. Scalar UDFs return single values, stored procedures are for procedural logic, and tasks are for scheduling jobs.
https://docs.snowflake.com/en/developer-guide/udf/udf-calling-sql#calling-a-udtf
A. A User-Defined Table Function (UDTF)
A. A User-Defined Table Function (UDTF)
correct