SnowPro Core Exam QuestionsBrowse all questions from this exam

SnowPro Core Exam - Question 967


Which command can be used to delete staged files from a Snowflake stage when the files are no longer needed?

Show Answer
Correct Answer: C

The command to delete staged files from a Snowflake stage when the files are no longer needed is REMOVE. The REMOVE command is specifically designed to remove files from stages, either external or internal.

Discussion

1 comment
Sign in to comment
0e504b5Option: C
Aug 19, 2024

REMOVE Removes files from either an external (external cloud storage) or internal (i.e. Snowflake) stage. https://docs.snowflake.com/en/sql-reference/sql/remove Staged files can be deleted from a Snowflake stage (user stage, table stage, or named stage) using the following methods: Files that were loaded successfully can be deleted from the stage during a load by specifying the PURGE copy option in the COPY INTO <table> command. After the load completes, use the REMOVE command to remove the files in the stage. https://docs.snowflake.com/en/user-guide/data-load-considerations-manage