Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam SnowPro Core topic 1 question 751 discussion

Actual exam question from Snowflake's SnowPro Core
Question #: 751
Topic #: 1
[All SnowPro Core Questions]

A user wants to unload data from a relational table into a CSV file in an external stage. The table must be named exactly as specified by the user.

Which file format option MUST be used to do this?

  • A. encoding
  • B. escape
  • C. file_extension
  • D. single
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Lematthew31
2 weeks, 4 days ago
Selected Answer: D
It's D
upvoted 1 times
...
SamuelZhang
2 months, 4 weeks ago
Selected Answer: D
D for sure
upvoted 1 times
...
0e504b5
3 months ago
Selected Answer: D
It's either C or D. The question asks: "which file format option...". D SINGLE is not about file format option. It's a parameter for COPY INTO <location>. Also is the question asking about the table name? or a file name? It sounds like it's about the file name, but the question says "table name", which is confusing. I'd vote D, but I'm not 100% sure. https://docs.snowflake.com/en/sql-reference/sql/copy-into-location https://docs.snowflake.com/en/sql-reference/sql/create-file-format
upvoted 1 times
0e504b5
3 months ago
Sorry, I meant to say I vote "C"
upvoted 1 times
...
...
Ram9198
6 months, 2 weeks ago
Selected Answer: D
Question - The table must be named exactly as specified by the user Note If the SINGLE copy option is TRUE, then the COPY command unloads a file without a file extension by default. To specify a file extension, provide a file name and extension in the internal_location or external_location path. For example: copy into @stage/data.csv ...
upvoted 1 times
...
Heetec
7 months ago
Selected Answer: C
C correct - from docs: "Important If SINGLE = TRUE, then COPY ignores the FILE_EXTENSION file format option and outputs a file simply named data. To specify a file extension, provide a filename and extension in the internal or external location path."
upvoted 1 times
Ram9198
6 months, 2 weeks ago
You mean answer is D .. this is where you mention what name the file should be exported. If single is false snowflake generates name for the files
upvoted 1 times
...
...
jAtlas7
7 months, 2 weeks ago
Selected Answer: D
"Extension" only allows an extension name so therefore incorrect
upvoted 1 times
...
JG1984
8 months, 2 weeks ago
Selected Answer: C
The file_extension file format option specifies the file extension of the output file. The default file extension for CSV files is .csv. If you want the table to be named exactly as specified by the user, you must set the file_extension option to .csv.
upvoted 2 times
...
singhks
9 months ago
Selected Answer: D
https://docs.snowflake.com/en/sql-reference/sql/copy-into-location Single=True and specify a single file name like this: -- S3 bucket COPY INTO 's3://mybucket/./../a.csv' FROM mytable; -- Google Cloud Storage bucket COPY INTO 'gcs://mybucket/./../a.csv' FROM mytable;
upvoted 1 times
...
Marcusbraga
9 months, 2 weeks ago
D If the SINGLE copy option is TRUE, then the COPY command unloads a file without a file extension by default. To specify a file extension, provide a file name and extension in the internal_location or external_location path (e.g. copy into @stage/data.csv). https://docs.snowflake.com/en/sql-reference/sql/create-file-format
upvoted 2 times
...
HelloCosmin
9 months, 3 weeks ago
D. Single
upvoted 1 times
...
MultiCloudIronMan
10 months ago
Selected Answer: C
I will go for this because it required in naming the file
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...