SnowPro Core Certification — Question 270

What is the following SQL command used for?

Select * from table(validate(t1, job_id => '_last'));

Answer options

Correct answer: D

Explanation

The correct answer, D, is accurate because the command is designed to return errors from the last COPY command executed in the current session, specifically into table t1. Options A and B are incorrect as they refer to validating external files and task SQL statements respectively, which are not the focus of the command. Option C does not apply because the command is not about validating files before execution, but rather reporting errors after execution.