SnowPro Core Exam QuestionsBrowse all questions from this exam

SnowPro Core Exam - Question 1258


What function should be used to convert JSON NULL values to SQL NULL values when loading data into a Snowflake table?

Show Answer
Correct Answer:

Discussion

3 comments
Sign in to comment
Jiten732Option: B
Jan 25, 2025

B is correct

pieterjacobi1Option: D
Jan 27, 2025

When loading JSON data into a Snowflake table, the PARSE_JSON function can be used to convert JSON NULL values to SQL NULL values. This function parses a string containing JSON data into a Snowflake JSON data type (VARIANT). During this parsing process, JSON null values are interpreted as SQL NULL values.

Sreestorm123
Jan 31, 2025

SELECT STRIP_NULL_VALUE(PARSE_JSON('{"a": 1, "b": null, "c": "value"}'));