COF-C02 · Question #563
What command is used to export or unload data from Snowflake?
The correct answer is A. PUT @mystage. Note: The answer key marks A (PUT) as correct, but this appears to be an error. PUT @mystage uploads files FROM a local filesystem TO a Snowflake internal stage - it is used for data LOADING, not exporting. The correct command to export/unload data FROM a Snowflake table is…
Question
What command is used to export or unload data from Snowflake?
Options
- APUT @mystage
- BGET @mystage
- CCOPY INTO @mystage
- DINSERT @mystage
How the community answered
(50 responses)- A92% (46)
- B4% (2)
- C2% (1)
- D2% (1)
Explanation
Note: The answer key marks A (PUT) as correct, but this appears to be an error. PUT @mystage uploads files FROM a local filesystem TO a Snowflake internal stage - it is used for data LOADING, not exporting. The correct command to export/unload data FROM a Snowflake table is COPY INTO @mystage (option C), which writes query results or table data out to a stage as flat files. GET @mystage downloads staged files to a local machine. If your exam marks C as correct, that aligns with Snowflake documentation; if it marks A, treat this as a likely question error.
Topics
Community Discussion
No community discussion yet for this question.