COF-C02 · Question #391
When using SnowSQL, which configuration options are required when unloading data from a SQL query run on a local machine? {Select TWO).
The correct answer is C. output_file D. output_format. When unloading data via SnowSQL on a local machine, two options are required: output_file (C) specifies the local file path where query results will be written, and output_format (D) specifies the format of the exported data (e.g., csv, json, tsv). Without both, SnowSQL cannot…
Question
When using SnowSQL, which configuration options are required when unloading data from a SQL query run on a local machine? {Select TWO).
Options
- Aecho
- Bquiet
- Coutput_file
- Doutput_format
- Eforce_put_overwrite
How the community answered
(27 responses)- A4% (1)
- B15% (4)
- C74% (20)
- E7% (2)
Explanation
When unloading data via SnowSQL on a local machine, two options are required: output_file (C) specifies the local file path where query results will be written, and output_format (D) specifies the format of the exported data (e.g., csv, json, tsv). Without both, SnowSQL cannot direct output to a file in a structured format. The other options are unrelated to data unloading: 'echo' repeats SQL commands in output, 'quiet' suppresses informational messages, and 'force_put_overwrite' applies to the PUT command for uploading files to stages - not for unloading.
Topics
Community Discussion
No community discussion yet for this question.