SYSTEM$GET_SERVICE_DNS_DOMAIN

functionsupportedContainer services & dev tooling

docs.snowflake.com ↗

System functions

Given a schema name, returns that schema’s DNS namespace hash as a string. Snowpark Container Services is available to accounts in AWS, Microsoft Azure, and Google Cloud Platform commercial regions, with some exceptions. For more information, see Available regions and considerations.

Syntax

SYSTEM$GET_SERVICE_DNS_DOMAIN( <schema_name> )

Parameters

NameRequiredDescription
schema_namerequiredSchema name. If the schema is not in the current database, specify the fully qualified name of the schema.

Returns

Returns the schema’s DNS namespace hash as a string.

Access control requirements

A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes USAGE | Schema | For instructions on creating a custom role with a specified set of privileges, see Creating custom roles. For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.

See also