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

Which function should be used to insert JSON formatted string data into a VARIANT field?

    Correct Answer: D

    To insert JSON formatted string data into a VARIANT field, the TO_VARIANT function should be used. This function explicitly converts data, including JSON, to the VARIANT data type, which can store semi-structured data such as JSON, XML, Avro, etc.

Discussion
BobFarOption: C

The correct answer is C. PARSE_JSON https://docs.snowflake.com/en/sql-reference/functions/parse_json

HeetecOption: C

C correct - https://docs.snowflake.com/en/sql-reference/functions/to_json

Heetec

correct link - https://docs.snowflake.com/en/sql-reference/functions/parse_json