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 2 years agoMallikharjuna452
Most Recent 5 months, 1 week agoYoshiSamoZou
6 months agodeeshubh
7 months, 4 weeks agoPrashn
9 months, 3 weeks ago_yyukta
10 months agoOscarWest2023
1 year, 7 months agodmitriypo
1 year, 7 months agoPrajdeo
1 year, 9 months agosnowcert
2 years agoRob__C
2 years agoSnowProCertDec22
2 years agohalol
2 years ago