SnowPro Core Certification — Question 1113
What is the purpose of the use of the VALIDATE command?
Answer options
- A. To view any queries that encountered an error
- B. To verify that a SELECT query will run without error
- C. To prevent a PUT statement from running if an error occurs
- D. To see all errors from a previously run COPY INTO [table] statement
Correct answer: D
Explanation
The VALIDATE command is specifically designed to provide feedback on errors from a COPY INTO [table] statement, making option D the correct choice. Option A is incorrect because it does not pertain to the VALIDATE command. Option B is misleading, as VALIDATE does not check SELECT queries. Option C is also wrong because VALIDATE does not interact with PUT statements.