What command is used to export or unload data from Snowflake?
A.
PUT @mystage
B.
GET @mystage
C.
COPY INTO @mystage
D.
INSERT @mystage
The Answer Is:
A
This question includes an explanation.
Explanation:
The command used to export or unload data from Snowflake to a stage (such as a file in an S3 bucket, Azure Blob Storage, or Google Cloud Storage) is thePUTcommand. ThePUTcommand is designed to upload data files from a local file system (in the case of SnowSQL or other client) or a virtual warehouse to a specified stage. This functionality is critical for scenarios where data needs to be extracted from Snowflake for use in external systems, backups, or further processing.
The syntax for thePUTcommand follows the structure:PUT file://<local_file_path> @<stage_name>, where<local_file_path>specifies the path to the file(s) on the localfile system that you wish to upload, and<stage_name>specifies the destination stage in Snowflake.
It's important to distinguish that thePUTcommand is used for exporting data out of Snowflake, whereas theCOPY INTO <table>command is used for importing data into Snowflake from a stage. TheGETcommand, on the other hand, is used to download files from a stage to the local file system, essentially the inverse operation of thePUTcommand.
[References:, Snowflake Documentation on Loading and Unloading Data: [Loading and Unloading Data](https://docs.snowflake.com/en/user-guide/data-load, , ]
COF-C02 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"