exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 1038 discussion

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

Which Snowflake function will parse a JSON-null into a SQL-null?

  • A. TO_CHAR
  • B. TO_VARIANT
  • C. TO_VARCHAR
  • D. STRIP_NULL_VALUE
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
nexerSnow
8 months, 3 weeks ago
Selected Answer: D
STRIP_NULL_VALUE: Converts a JSON null value to a SQL NULL value. All other variant values are passed unchanged.
upvoted 2 times
...
NachoPrendes
8 months, 4 weeks ago
Selected Answer: D
Change my vote: D https://docs.snowflake.com/en/sql-reference/functions/strip_null_value#:~:text=Functions%20(Parsing)-,STRIP_NULL_VALUE,-Converts%20a%20JSON
upvoted 2 times
...
SSahar
8 months, 4 weeks ago
Selected Answer: D
https://docs.snowflake.com/en/sql-reference/functions/strip_null_value
upvoted 2 times
...
NachoPrendes
8 months, 4 weeks ago
Selected Answer: B
B https://docs.snowflake.com/en/sql-reference/functions/to_variant
upvoted 1 times
56d43d6
5 months ago
Given the wording of the question, I believe the strip_null_value is the more precise answer. the to_variant() function says it changes variant null to null, but it doesn't specify a sql null as the output.
upvoted 1 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 ...