COF-C02 · Question #155
What is the following SQL command used for? Select * from table(validate(t1, job_id => '_last'));
The correct answer is D. To return errors from the last executed COPY command into table t1 in the current session. 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. It checks the results of the most recent data load operation and provides details on any errors that occurred…
Question
What is the following SQL command used for? Select * from table(validate(t1, job_id => '_last'));
Options
- ATo validate external table files in table t1 across all sessions
- BTo validate task SQL statements against table t1 in the last 14 days
- CTo validate a file for errors before it gets executed using a COPY command
- DTo return errors from the last executed COPY command into table t1 in the current session
How the community answered
(54 responses)- A2% (1)
- B4% (2)
- C2% (1)
- D93% (50)
Explanation
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. It checks the results of the most recent data load operation and provides details on any errors that occurred during that
Topics
Community Discussion
No community discussion yet for this question.