Exam SnowPro Core All QuestionsBrowse all questions from this exam
Question 728

Which SQL command will download all the data files from an internal table stage named TBL_EMPLOYEE to a local window directory or folder on a client machine in a folder named folder with space within the C drive?

    Correct Answer: B

    To issue SQL commands for downloading data files from an internal table stage to a local directory on a Windows machine, the correct approach uses the 'GET' command. For Windows paths, when the directory path includes spaces or other special characters, the path must be enclosed in single quotes, and the path separators should be forward slashes (/). Therefore, the correct command is 'GET @%TBL_EMPLOYEE 'file://C:/folder with space/';'.

Discussion
MultiCloudIronManOption: A

I think is A, because windows file system use back slash

kayuhanbidukOption: B

B. https://docs.snowflake.com/en/sql-reference/sql/get#required-parameters

JG1984Option: A

The internal stage is @%TBL_EMPLOYEE, which is the stage for the table named TBL_EMPLOYEE. The local directory path is file://C:\folder with space\. The space in the folder name must be escaped with a backslash (\).

singhksOption: B

https://docs.snowflake.com/en/sql-reference/sql/get If the directory path includes special characters, the entire file URI must be enclosed in single quotes. Note that the drive and path separator is a forward slash (/) in enclosed URIs (e.g. 'file://C:/temp/load data' for a path in Windows that includes a directory named load data).

ZMF_2023

verified from https://docs.snowflake.com/en/sql-reference/sql/get

ASK_123Option: B

B is correct. Syntax: GET internalStage file://<local_directory_path> [ PARALLEL = <integer> ] [ PATTERN = '<regex_pattern>'' ] You must include the drive and backslash in the path (e.g. file://C:tempload). If the directory path includes special characters, the entire file URI must be enclosed in single quotes. Note that the drive and path separator is a forward slash (/) in enclosed URIs (e.g. 'file://C:/temp/load data' for a path in Windows that includes a directory named load data).

Valcon_dooOption: B

https://docs.snowflake.com/en/sql-reference/sql/get#required-parameters

Pradeep_7869Option: A

Why B in windows machine \ is used for path then it must be A

jAtlas7Option: B

Just like WSL or other Unix systems accessing Windows, path has Unix separators to access a mounted windows drive as such. /c/folder with space/

sid1604Option: A

A is correct

MarcusbragaOption: A

A because is local machine..... \ . it was linux /

EitanOption: A

A is correct https://docs.snowflake.com/en/user-guide/data-unload-snowflake#

Rameez1Option: B

https://docs.snowflake.com/en/sql-reference/sql/get#required-parameters Windows:-You must include the drive and backslash in the path (e.g. file://C:tempload). If the directory path includes special characters, the entire file URI must be enclosed in single quotes. Note that the drive and path separator is a forward slash (/) in enclosed URIs (e.g. 'file://C:/temp/load data' for a path in Windows that includes a directory named load data).

nexerSnowOption: B

B correct

HeetecOption: B

B correct