ExamGecko
Question list
Search
Search

Question 566 - SnowPro Core discussion

Report
Export

Which command is used to upload data files from a local directory or folder on a client machine to an internal stage, for a specified table?

A.

GET

Answers
A.

GET

B.

PUT

Answers
B.

PUT

C.

CREATE STREAM

Answers
C.

CREATE STREAM

D.

COPY INTO <location>

Answers
D.

COPY INTO <location>

Suggested answer: B

Explanation:

To upload data files from a local directory or folder on a client machine to an internal stage in Snowflake, the PUT command is used. The PUT command takes files from the local file system and uploads them to an internal Snowflake stage (or a specified stage) for the purpose of preparing the data to be loaded into Snowflake tables.

Syntax Example:

PUT file://<local_file_path> @<stage_name>;

This command is crucial for data ingestion workflows in Snowflake, especially when preparing to load data using the COPY INTO command.

asked 29/10/2024
Hendrik van Bemmel
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first