COF-C02 · Question #490
Which command will unload data from a table into an external stage?
The correct answer is C. COPY INTO <location>. COPY INTO <location> is Snowflake's bulk data unload command that exports data from a table or query result into files in either an internal or external stage (e.g., Amazon S3, Azure Blob Storage, Google Cloud Storage). PUT uploads files from a local machine to an internal…
Question
Which command will unload data from a table into an external stage?
Options
- APUT
- BINSERT
- CCOPY INTO <location>
- DGET
How the community answered
(27 responses)- A4% (1)
- C93% (25)
- D4% (1)
Explanation
COPY INTO <location> is Snowflake's bulk data unload command that exports data from a table or query result into files in either an internal or external stage (e.g., Amazon S3, Azure Blob Storage, Google Cloud Storage). PUT uploads files from a local machine to an internal Snowflake stage. GET downloads files from an internal stage to a local machine. INSERT adds rows into a table, not a stage. Only COPY INTO <location> handles unloading to external stages.
Topics
Community Discussion
No community discussion yet for this question.