ExamGecko
Question list
Search
Search

Question 422 - COF-C02 discussion

Report
Export

How can a Snowflake user post-process the result of SHOW FILE FORMATS?

A.
Use the RESULT_SCAN function.
Answers
A.
Use the RESULT_SCAN function.
B.
Create a CURSOR for the command.
Answers
B.
Create a CURSOR for the command.
C.
Put it in the FROM clause in brackets.
Answers
C.
Put it in the FROM clause in brackets.
D.
Assign the command to RESULTSET.
Answers
D.
Assign the command to RESULTSET.
Suggested answer: A

Explanation:

first run SHOW FILE FORMATS

then SELECT * FROM TABLE(RESULT_SCAN(LAST_QUERY_ID(-1)))

https://docs.snowflake.com/en/sql-reference/functions/result_scan#usage-notes

asked 23/09/2024
Ahmed Otmani Amaoui
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first