GET_STAGE_LOCATION

functionsupportedData loading & unloading

docs.snowflake.com ↗

File functions

Retrieves the URL for an external or internal named stage using the stage name as the input.

Syntax

GET_STAGE_LOCATION( @<stage_name> )

Parameters

NameRequiredDescription
stage_namerequiredName of an external or internal named stage. Note If the stage name includes spaces or special characters, it must be enclosed in single quotes (e.g. '@"my stage"' for a stage named "my stage").

Returns

URL of the cloud storage location in the stage definition.

Usage notes