
Answer-first summary for fast verification
Answer: PUT
The PUT command is specifically designed for uploading files from a local file system to an internal stage within Snowflake. While COPY INTO is used for loading data from stages into Snowflake tables, it is not for uploading files to stages. TRANSFER is not a valid Snowflake command, and INSERT is for adding data directly to tables, not for file uploads to stages. The community discussion shows a split between PUT (80%) and COPY INTO (20%), but the technical consensus from knowledgeable posters (like SV1122 with 2 upvotes) confirms that PUT is the correct command for uploading files to internal stages, while COPY is used for loading from external stages or from internal stages into tables.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.