A task can execute any one of the following types of SQL code:
Single SQL statement
Call to a stored procedure
Procedural logic using Snowflake Scripting Developer Guide
https://docs.snowflake.com/en/user-guide/tasks-intro.html
Multiple SQL statements using SnowSQL
Create task executes multiple SQL statements. Example, task modifies the TIMESTAMP_OUTPUT_FORMAT for the session and then queries the CURRENT_TIMESTAMP function.
The SQL code in the task definition includes multiple statements. To execute the CREATE TASK statement, you must temporarily set a character other than a semicolon as the delimiter for SQL statements; otherwise, the CREATE TASK statement would return a user error. The command to change the SQL delimiter in SnowSQL is !set sql_delimiter = <character>.
https://docs.snowflake.com/en/sql-reference/sql/create-task
Now Decide B or C, As per my understanding, may be now they have add this feature, so as per old snowflake its B but for now its C
A task can execute any one of the following types of SQL code:
Single SQL statement
Call to a stored procedure
Procedural logic using Snowflake Scripting Developer Guide
https://docs.snowflake.com/en/user-guide/tasks-intro
Most probably B as task can run a single SQL statement
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
SV1122
Highly Voted 1 year, 10 months agoMallikharjuna452
Most Recent 4 months agoYoshiSamoZou
4 months, 3 weeks agodeeshubh
6 months, 2 weeks agoPrashn
8 months, 2 weeks ago_yyukta
8 months, 3 weeks agoOscarWest2023
1 year, 5 months agodmitriypo
1 year, 6 months agoPrajdeo
1 year, 8 months agosnowcert
1 year, 10 months agoRob__C
1 year, 11 months agoSnowProCertDec22
1 year, 11 months agohalol
1 year, 11 months ago