
Answer-first summary for fast verification
Answer: copy into mytable from @my_int_stage;
The correct command to load data into a Snowflake table is COPY INTO, which is used to load data from staged files into a table. Option B (copy into mytable from @my_int_stage;) is correct because it specifies the source stage (@my_int_stage) from which data is loaded into the target table (mytable). Option A is incorrect because PURGE_MODE is not a valid parameter for COPY INTO; it is used in other contexts like purging data. Option C is incomplete as it specifies a file format but lacks a source stage, making it invalid. Option D is incorrect because VALIDATION is used for validating data during loading, not for specifying the data source, and it does not include a stage reference. The community discussion unanimously supports B with 100% agreement and upvotes, confirming it as the optimal choice based on Snowflake's COPY INTO syntax and best practices.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.