Snowflake
COF-R02 · Question #298
How would a user execute a series of SQL statements using a task?
The correct answer is D. Create a task for each SQL statement (e.g. resulting in task1, task2, etc.) and string the series of. See the full explanation below for the reasoning.
Question
How would a user execute a series of SQL statements using a task?
Options
- AInclude the SQL statements in the body of the task CREATE TASK mytask .. AS INSERT INTO
- BA stored procedure can have only one DML statement per stored procedure invocation and
- CUse a stored procedure executing multiple SQL statements and invoke the stored procedure from
- DCreate a task for each SQL statement (e.g. resulting in task1, task2, etc.) and string the series of
How the community answered
(39 responses)- A13% (5)
- B10% (4)
- C3% (1)
- D74% (29)
Community Discussion
No community discussion yet for this question.