exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 528 discussion

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

What is the difference between a stored procedure and a User-Defined Function (UDF)?

  • A. Stored procedures can execute database operations while UDFs cannot.
  • B. Returning a value is required in a stored procedure while returning values in a UDF is optional.
  • C. Values returned by a stored procedure can be used directly in a SQL statement while the values returned by a UDF cannot.
  • D. Multiple stored procedures can be called as part of a single executable statement while a single SQL statement can only call one UDF at a time.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
_yyukta
11 months ago
Selected Answer: A
A. Stored procedures can execute database operations while UDFs cannot
upvoted 1 times
...
Dalo
1 year, 8 months ago
https://docs.snowflake.com/en/developer-guide/stored-procedures-vs-udfs#udfs-may-not-access-the-database-stored-procedures-can
upvoted 2 times
...
MultiCloudIronMan
1 year, 9 months ago
Selected Answer: A
Correct
upvoted 1 times
...
bibisa
1 year, 11 months ago
Selected Answer: A
Stored Procedures Can Access the Database; UDFs May Not
upvoted 4 times
...
Simbajagnole
1 year, 11 months ago
Selected Answer: A
https://docs.snowflake.com/en/sql-reference/stored-procedures-overview#differences-between-stored-procedures-and-udfs
upvoted 4 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 ...