SnowPro Core Certification — Question 552

Which COPY INTO statement accurately describes how to unload data from a Snowflake table?

Answer options

Correct answer: C

Explanation

The correct answer, C, is accurate because it highlights how the OBJECT_CONSTRUCT function can be utilized with the COPY command to change multiple rows into a single VARIANT column. Options A and B are misleading as they do not pertain directly to unloading data from a table. Option D incorrectly implies that file naming is tied to the COMPRESSION option, which is not the primary function of the COPY INTO statement.