SnowPro Core Certification — Question 1015
Which function unloads data from a relational table to JSON?
Answer options
- A. TO_OBJECT
- B. TO_JSON
- C. TO_VARIANT
- D. OBJECT_CONSTRUCT
Correct answer: D
Explanation
The correct answer, OBJECT_CONSTRUCT, is specifically designed to convert relational data into JSON format. The other options, while related to data handling, do not serve the purpose of exporting data to JSON directly.