1. A Snowflake table stage (@%MY_TABLE) holds several CSV files. A developer issues the following command: REMOVE @%MY_TABLE; What is the result of this command?
- A. The MY_TABLE table is dropped along with all its staged files.
- B. All files currently in the MY_TABLE table stage are deleted, but the table itself is unaffected.✓ Correct
- C. The command fails because REMOVE is not supported on table stages; only named stages support REMOVE.
- D. All files in the table stage are deleted and the table's load metadata history is also purged.
Explanation
Option B is correct: REMOVE (or RM) deletes files from a stage but has no effect on the underlying table or its metadata. Option A is wrong because REMOVE only deletes staged files, never the table itself. Option C is wrong because REMOVE is fully supported on table stages, user stages, and named stages. Option D is wrong because REMOVE only removes the physical files; it does not affect load history metadata, which is maintained separately by Snowflake for up to 64 days.