SnowPro Core Exam QuestionsBrowse all questions from this exam

SnowPro Core Exam - Question 248


What is the following SQL command used for?

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

Show Answer
Correct Answer: D

The SQL command 'Select * from table(validate(t1, job_id => '_last'));' is used to return errors from the last executed COPY command into table t1 in the current session. This command validates the files loaded in a past execution of the COPY INTO <table> command and provides details on any errors encountered during that process.

Discussion

5 comments
Sign in to comment
SV1122Option: D
Dec 29, 2022

Validates the files loaded in a past execution of the COPY INTO <table> command and returns all the errors encountered during the load, rather than just the first error. https://docs.snowflake.com/en/sql-reference/functions/validate.html

halolOption: D
Dec 8, 2022

https://docs.snowflake.com/en/sql-reference/functions/validate.html

MultiCloudIronManOption: D
Jul 17, 2023

correct

_yyuktaOption: D
Feb 26, 2024

D. To return errors from the last executed COPY command into table t1 in the current session

Mallikharjuna452Option: D
Jul 22, 2024

D is the correct answer