Which query contains a Snowflake hosted file URL in a directory table for a stage named bronzestage?
Which query contains a Snowflake hosted file URL in a directory table for a stage named bronzestage?
To retrieve a list of all files on a stage with metadata, including the Snowflake-hosted file URL, you need to query the directory table for that stage. The correct query format is SELECT * FROM DIRECTORY(@stage_name);. This will list all files along with their metadata for the specified stage.
Querying directory tables This topic covers how to query a directory table to retrieve a list of all files on a stage with metadata, such as the Snowflake file URL, for each file. SELECT * FROM DIRECTORY( @<stage_name> ) https://docs.snowflake.com/en/user-guide/data-load-dirtables-query
B is correct
https://docs.snowflake.com/en/user-guide/data-load-dirtables-query
FILE_URL -Snowflake-hosted file URL to the file. https://docs.snowflake.com/en/user-guide/data-load-dirtables-manage
I think B