exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 438 discussion

Actual exam question from Snowflake's SnowPro Core
Question #: 438
Topic #: 1
[All SnowPro Core Questions]

How does a Snowflake user execute an anonymous block of code?

  • A. The user must run the CALL command to execute the block.
  • B. The statements that define the block must also execute the block.
  • C. The SUBMIT command must run immediately after the block is defined
  • D. The block must be saved to a worksheet and executed using a connector.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
SnowProCertDec22
Highly Voted 1 year, 10 months ago
Selected Answer: B
The BEGIN … END statement that defines the block also executes the block. (You don’t run a separate CALL command to execute the block.) https://docs.snowflake.com/en/developer-guide/snowflake-scripting/blocks.html#using-an-anonymous-block
upvoted 5 times
...
e_l_i_a_s
Most Recent 9 months, 2 weeks ago
Selected Answer: B
If you don’t want to store the block in a stored procedure in the database, you can define and use an anonymous block. An anonymous block is a block that is not part of a stored procedure. You define the block as a separate, standalone SQL statement. The BEGIN statement that defines the block also executes the block. (You don’t run a separate CALL command to execute the block.) https://docs.snowflake.com/en/developer-guide/snowflake-scripting/blocks#using-an-anonymous-block
upvoted 3 times
...
Rob__C
1 year, 10 months ago
https://docs.snowflake.com/en/developer-guide/snowflake-scripting/blocks.html#using-an-anonymous-block
upvoted 3 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago