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