Exam SnowPro Core All QuestionsBrowse all questions from this exam
Question 1038

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

    Correct Answer: D

    The function STRIP_NULL_VALUE is specifically designed to convert a JSON null value into a SQL NULL value. This function ensures compatibility between JSON data and SQL by accurately handling null representations.

Discussion
nexerSnowOption: D

STRIP_NULL_VALUE: Converts a JSON null value to a SQL NULL value. All other variant values are passed unchanged.

NachoPrendesOption: 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

SSaharOption: D

https://docs.snowflake.com/en/sql-reference/functions/strip_null_value

NachoPrendesOption: B

B https://docs.snowflake.com/en/sql-reference/functions/to_variant