ExamGecko
Question list
Search
Search

Question 327 - COF-C02 discussion

Report
Export

Which query contains a Snowflake hosted file URL in a directory table for a stage named bronzestage?

A.
list @bronzestage;
Answers
A.
list @bronzestage;
B.
select * from directory(@bronzestage);
Answers
B.
select * from directory(@bronzestage);
C.
select metadata$filename from @bronzestage;
Answers
C.
select metadata$filename from @bronzestage;
D.
select * from table(information_schema.stage_directory_file_registration_history( stage name=>'bronzestage1));
Answers
D.
select * from table(information_schema.stage_directory_file_registration_history( stage name=>'bronzestage1));
Suggested answer: B

Explanation:

The query that contains a Snowflake hosted file URL in a directory table for a stage named bronzestage isselect * from directory(@bronzestage).This query retrieves a list of all files on the stage along with metadata, including the Snowflake file URL for each file3.

asked 23/09/2024
Michele Punzo
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first