All commands (alphabetical)

This topic provides a list of all DDL and DML commands, as well as the SELECT command and other related commands, in alphabetical order.

Command NameSummary
A
ALTER <object>Modifies the metadata of an account-level or database object, or the parameters for a session.
ALTER ACCOUNTModifies an account.
ALTER AGENTModifies the properties or specification for an existing Cortex Agent.
ALTER AGGREGATION POLICYReplaces the existing rules or comment of an aggregation policy.
ALTER ALERTModifies the properties of an existing alert and suspends or resumes an existing alert.
ALTER API INTEGRATIONModifies the properties of an existing API integration.
ALTER APPLICATIONModifies the properties of an installed Snowflake Native App.
ALTER APPLICATION DROP SPECIFICATIONDrops an app specification from an app.
ALTER APPLICATION DROP CONFIGURATION DEFINITIONDeletes the app configuration definition for a Snowflake Native App.
ALTER APPLICATION PACKAGEModifies the properties of an existing application package.
ALTER APPLICATION PACKAGE … MODIFY RELEASE CHANNELModifies the release channels defined for an existing application package.
ALTER APPLICATION PACKAGE … RELEASE DIRECTIVEModifies the properties of an existing application package.
ALTER APPLICATION PACKAGE … VERSIONModifies the versioning of an existing application package in the Snowflake Native App Framework.
ALTER APPLICATION ROLEModifies the properties for an existing application role.
ALTER APPLICATION … { APPROVE | DECLINE} SPECIFICATIONApproves or declines an app specification using the specified sequence number.
ALTER APPLICATION SET SPECIFICATIONCreates or updates an app specification for a Snowflake Native App.
ALTER APPLICATION SET CONFIGURATION DEFINITIONCreates or updates an app configuration for a Snowflake Native App.
ALTER APPLICATION SET CONFIGURATION VALUESets a value in an app configuration definition for a Snowflake Native App.
ALTER APPLICATION UNSET CONFIGURATIONUnsets an app configuration definition for a Snowflake Native App.
ALTER AUTHENTICATION POLICYModifies the properties of an authentication policy.
ALTER BACKUP POLICYModifies the properties of a backup policy.
ALTER BACKUP SETModifies the properties for a backup set.
ALTER CATALOG INTEGRATIONModifies the properties of an existing catalog integration.
ALTER COMPUTE POOLModifies the properties of an existing compute pool.
ALTER CONNECTIONModifies the properties for an existing connection.
ALTER CONTACTModifies the properties of an existing contact.
ALTER CORTEX SEARCH SERVICESuspends, resumes, or modifies the properties of an existing Cortex Search service.
ALTER DATABASEModifies the properties for an existing database.
ALTER DATABASE (catalog-linked)Modifies the properties for an existing catalog-linked database.
ALTER DATABASE ROLEModifies the properties for an existing database role.
ALTER DATASETModifies a dataset by adding or dropping dataset versions.
ALTER DATASET … ADD VERSIONAdds a version to a dataset.
ALTER DATASET … DROP VERSIONDrops a dataset version.
ALTER DBT PROJECTModifies the properties of an existing dbt project object.
ALTER DCM PROJECTModifies the properties of an existing DCM project.
ALTER DYNAMIC TABLEModifies the properties of a dynamic table.
ALTER EXPERIMENTModifies the properties of an existing experiment.
ALTER EXTERNAL AGENTModifies the properties of an existing external agent.
ALTER EXTERNAL ACCESS INTEGRATIONModifies the properties of an existing external access integration.
ALTER EXTERNAL TABLEModifies the properties, columns, or constraints for an existing external table.
ALTER EXTERNAL VOLUMEModifies the properties for an existing external volume.
ALTER FAILOVER GROUPModifies the properties for an existing failover group.
ALTER FEATURE POLICYAlters or renames a feature policy.
ALTER FILE FORMATModifies the properties for an existing file format object.
ALTER FUNCTIONModifies the properties of an existing user-defined or external function.
ALTER FUNCTION (DMF)Modifies the properties of an existing data metric function (DMF).
ALTER FUNCTION (Snowpark Container Services)Modifies the properties of an existing service function.
ALTER GATEWAYModifies the configuration of an existing gateway.
ALTER GIT REPOSITORYModifies the properties of a Snowflake Git repository clone.
ALTER ICEBERG TABLEModifies properties such as clustering options and tags for an existing Apache Iceberg™ table.
ALTER ICEBERG TABLE … ALTER COLUMN … SET DATA TYPE (structured types)Modifies (evolves) a structured type column in a Snowflake-managed Apache Iceberg™ table.
ALTER ICEBERG TABLE … CONVERT TO MANAGEDConverts an Apache Iceberg™ table that uses an external Iceberg catalog into a table that uses Snowflake as the catalog (a Snowflake-managed Iceberg table).
ALTER ICEBERG TABLE … REFRESHRefreshes the metadata for an Apache Iceberg™ table that uses an external Iceberg catalog.
ALTER INTEGRATIONModifies the properties for an existing integration.
ALTER JOIN POLICYReplaces the existing rules or comment for a join policy.
ALTER LISTINGModifies the properties of a listings with an inline YAML manifest, or from a file located in a stage location.
ALTER MAINTENANCE POLICYModifies an existing maintenance policy.
ALTER MASKING POLICYReplaces the existing masking policy rules with new rules or a new comment and allows the renaming of a masking policy.
ALTER MATERIALIZED VIEWAlters a materialized view in the current/specified schema.
ALTER MODELModifies the properties for an existing model, including its name, tags, default version, or comment.
ALTER MODEL … ADD VERSIONAdds a new version to an existing model from an existing model version.
ALTER MODEL … DROP VERSIONRemoves a version from the specified machine learning model.
ALTER MODEL … MODIFY VERSIONModifies a version of a model, changing the version’s comment or metadata.
ALTER MODEL MONITORModifies the properties of a model monitor.
ALTER NETWORK POLICYModifies the properties for an existing network policy.
ALTER NETWORK RULEModifies an existing network rule.
ALTER NOTEBOOKModifies the properties of an existing notebook.
ALTER NOTIFICATION INTEGRATIONModifies the properties for an existing notification integration.
ALTER NOTIFICATION INTEGRATION (email)Modifies the properties for an existing notification integration for sending email messages.
ALTER NOTIFICATION INTEGRATION (inbound from an Azure Event Grid topic)Modifies the properties for an existing notification integration for receiving messages from an Azure Event Grid topic.
ALTER NOTIFICATION INTEGRATION (inbound from a Google Pub/Sub topic)Modifies the properties for an existing notification integration for receiving messages from a Google Pub/Sub topic.
ALTER NOTIFICATION INTEGRATION (outbound to an Amazon SNS topic)Modifies the properties for an existing notification integration for sending a message to an Amazon SNS topic.
ALTER NOTIFICATION INTEGRATION (outbound to an Azure Event Grid topic)Modifies the properties for an existing notification integration for sending a message to an Azure Event Grid topic.
ALTER NOTIFICATION INTEGRATION (outbound to a Google Pub/Sub topic)Modifies the properties for an existing notification integration for sending a message to a Google Pub/Sub topic.
ALTER NOTIFICATION INTEGRATION (webhooks)Modifies the properties for an existing notification integration for a webhook.
ALTER OPENFLOW DATA PLANEModifies an Openflow data plane integration.
ALTER ONLINE FEATURE TABLEModifies the properties of an existing online feature table.
ALTER ORGANIZATION ACCOUNTModifies the properties of an existing organization account.
ALTER ORGANIZATION PROFILEModifies the properties of an organization profile using an inline YAML manifest, or using a YAML manifest file located in a stage location.
ALTER ORGANIZATION USERModifies the properties of an existing organization user.
ALTER ORGANIZATION USER GROUPModifies the properties of an existing organization user group.
ALTER PACKAGES POLICYModifies the properties for an existing packages policy.
ALTER PASSWORD POLICYModifies the properties for an existing password policy.
ALTER PIPEModifies a limited set of properties for an existing pipe object.
ALTER POSTGRES INSTANCEModifies the properties of an existing Snowflake Postgres instance.
ALTER PRIVACY POLICYModifies the properties of an existing privacy policy.
ALTER PROCEDUREModifies the properties for an existing stored procedure.
ALTER PROJECTION POLICYReplaces the existing projection policy rules with new rules or a new comment and allows the renaming of a projection policy.
ALTER REPLICATION GROUPModifies the properties for an existing replication group.
ALTER RESOURCE MONITORModifies the properties and triggers for an existing resource monitor.
ALTER ROLEModifies the properties for an existing custom role.
ALTER ROW ACCESS POLICYModifies the properties for an existing row access policy, including renaming the policy or replacing the policy rules.
ALTER SCHEMAModifies the properties for an existing schema, including renaming the schema or swapping it with another schema, and changing the Time Travel data retention period (if you are using Snowflake Enterprise Edition or higher).
ALTER SECRETModifies the properties of an existing secret.
ALTER SECURITY INTEGRATIONModifies the properties for an existing security integration.
ALTER SECURITY INTEGRATION (External API Authentication)Modifies the properties of an existing security integration created for External API Authentication.
ALTER SECURITY INTEGRATION (AWS IAM Authentication)Modifies the properties of an existing security integration created for authenticating with AWS IAM.
ALTER SECURITY INTEGRATION (External OAuth)Modifies the properties of an existing security integration created for External OAuth.
ALTER SECURITY INTEGRATION (Snowflake OAuth)Modifies the properties of an existing security integration created for a Snowflake OAuth client.
ALTER SECURITY INTEGRATION (SAML2)Modifies the properties of an existing SAML2 security integration.
ALTER SECURITY INTEGRATION (SCIM)Modifies the properties of an existing SCIM security integration.
ALTER SEMANTIC VIEWModifies the comment for an existing semantic view or renames a semantic view.
ALTER SEQUENCEModifies the properties for an existing sequence.
ALTER SERVICEModifies Snowpark Container Services service configuration, upgrades the code for the service, and allows you to suspend or resume a service.
ALTER SESSIONSets parameters that change the behavior for the current session.
ALTER SESSION POLICYModifies the properties for an existing session policy.
ALTER SHAREModifies the properties for an existing share.
ALTER SNAPSHOTModifies the properties of an existing snapshot of a block storage volume.
ALTER SNAPSHOT POLICY — DeprecatedModifies the properties of a snapshot policy.
ALTER SNAPSHOT SET — DeprecatedModifies the properties for a snapshot set.
ALTER STAGEModifies the properties for an existing named internal or external stage.
ALTER STORAGE INTEGRATIONModifies the properties for an existing storage integration.
ALTER STORAGE LIFECYCLE POLICYModifies the properties of an existing storage lifecycle policy.
ALTER STREAMModifies the properties, columns, or constraints for an existing stream.
ALTER STREAMLITModifies the properties of an existing Streamlit object.
ALTER TABLEModifies the properties, columns, or constraints for an existing table.
ALTER TABLE … ALTER COLUMNThis topic describes how to modify one or more column properties for a table using an ALTER COLUMN clause in a ALTER TABLE statement.
ALTER TABLE (event tables)Modifies the properties, columns, or constraints for an existing event table.
ALTER TAGModifies the properties for an existing tag, including renaming the tag and setting a masking policy on a tag.
ALTER TASKModifies the properties for an existing task.
ALTER TYPEModifies the properties for an existing user-defined type.
ALTER USERModifies the properties and object/session parameters for an existing user in the system.
ALTER USER … ADD PROGRAMMATIC ACCESS TOKEN (PAT)Creates a programmatic access token for a user.
ALTER USER … MODIFY PROGRAMMATIC ACCESS TOKEN (PAT)Changes the name of a programmatic access token or a property of the token.
ALTER USER … REMOVE PROGRAMMATIC ACCESS TOKEN (PAT)Revokes a programmatic access token for a user.
ALTER USER … ROTATE PROGRAMMATIC ACCESS TOKEN (PAT)Rotates programmatic access token, generating a new token secret with an extended expiration time, and expiring the existing token secret.
ALTER VIEWModifies the properties for an existing view.
ALTER WAREHOUSESuspends or resumes a virtual warehouse, or aborts all queries (and other SQL statements) for a warehouse.
B
BEGINBegins a transaction in the current session.
C
CALLCalls a stored procedure.
CALL (with anonymous procedure)Creates and calls an anonymous procedure that is like a stored procedure but is not stored for later use.
COMMENTAdds a comment or overwrites an existing comment for an existing object.
COMMITCommits an open transaction in the current session.
COPY FILESCopy files from a source location to an output stage.
COPY INTO <location>Unloads data from a table (or query) into one or more files in one of the following locations.
COPY INTO <table>Loads data from files to an existing table.
CREATE <object>Creates a new object of the specified type.
CREATE ACCOUNTCreates a new account in your organization.
CREATE AGENTCreates a new Cortex Agent object with the specified attributes and specification.
CREATE AGGREGATION POLICYCreates a new aggregation policy in the current/specified schema or replaces an existing aggregation policy.
CREATE ALERTCreates a new alert in the current schema.
CREATE API INTEGRATIONCreates a new API integration object in the account or replaces an existing API integration.
CREATE APPLICATIONCreates a Snowflake Native App based on an application package or listing.
CREATE APPLICATION PACKAGECreates a new application package that contains the data content and application logic of Snowflake Native App.
CREATE APPLICATION ROLECreates a new application role or replaces an existing application role.
CREATE AUTHENTICATION POLICYCreates a new authentication policy in the current or specified schema or replaces an existing authentication policy.
CREATE BACKUP POLICYCreates a backup policy.
CREATE BACKUP SETCreates a backup set for a table, a schema, or a database.
CREATE CATALOG INTEGRATIONCreates a new catalog integration for Apache Iceberg™ tables in the account or replaces an existing catalog integration.
CREATE CATALOG INTEGRATION (AWS Glue)Creates a new catalog integration in the account or replaces an existing catalog integration for Apache Iceberg™ tables that use AWS Glue as the catalog.
CREATE CATALOG INTEGRATION (Object storage)Creates a new catalog integration in the account or replaces an existing catalog integration for the following sources.
CREATE CATALOG INTEGRATION (Snowflake Open Catalog)Creates a new catalog integration for Apache Iceberg™ tables that integrate with Snowflake Open Catalog in the account or replaces an existing catalog integration.
CREATE CATALOG INTEGRATION (Apache Iceberg™ REST)Creates a new catalog integration in the account or replaces an existing catalog integration for Apache Iceberg™ tables managed in a remote catalog that complies with the open source Apache Iceberg™ REST OpenAPI specification.
CREATE CATALOG INTEGRATION (SAP® Business Data Cloud)Creates a new catalog integration in the account or replaces an existing catalog integration for SAP® Business Data Cloud to interact with SAP® Data Products managed in the SAP® Business Data Cloud object store.
CREATE <object> … CLONECreates a copy of an existing object in the system.
CREATE COMPUTE POOLCreates a new compute pool in the current account.
CREATE CONNECTIONCreates a new connection in the account.
CREATE CONTACTCreates a new contact or replaces an existing contact.
CREATE CORTEX SEARCH SERVICECreates a new Cortex Search service or replaces an existing one.
CREATE DATA METRIC FUNCTIONCreates a new data metric function (DMF) in the current or specified schema, or replaces an existing data metric function.
CREATE DATABASECreates a new database in the system.
CREATE DATABASE (catalog-linked)Creates a new catalog-linked database for Apache Iceberg™ tables that use an external Iceberg REST catalog.
CREATE DATABASE ROLECreate a new database role or replace an existing database role in the system.
CREATE DATASETCreates a new machine learning dataset in the current schema or the schema that you specify.
CREATE DBT PROJECTCreates a new dbt project object or replaces an existing dbt project.
CREATE DCM PROJECTCreates a new DCM project or replaces an existing DCM project.
CREATE DYNAMIC TABLECreates a dynamic table, based on a specified query.
CREATE EVENT TABLECreates an event table that captures events, including logged messages from functions and procedures.
CREATE EXPERIMENTCreates a new experiment or replaces an existing experiment.
CREATE EXTERNAL AGENTCreates a new external agent for use with AI Observability.
CREATE EXTERNAL ACCESS INTEGRATIONCreates an external access integration for access to external network locations from a UDF or procedure handler.
CREATE EXTERNAL FUNCTIONCreates a new external function.
CREATE EXTERNAL TABLECreates a new external table in the current or specified schema or replaces an existing external table.
CREATE EXTERNAL VOLUMECreates a new external volume for Apache Iceberg™ tables in the account or replaces an existing external volume.
CREATE FAILOVER GROUPCreates a new failover group of specified objects in the system.
CREATE FEATURE POLICYCreates a new feature policy.
CREATE FILE FORMATCreates a named file format that describes a set of staged data to access or load into Snowflake tables.
CREATE FUNCTIONCreates a new UDF (user-defined function).
CREATE FUNCTION (Snowpark Container Services)Creates a service function.
CREATE GATEWAYCreates a new gateway in the current schema.
CREATE GIT REPOSITORYCreates a Snowflake Git repository clone in the schema or replaces an existing Git repository clone.
CREATE HYBRID TABLECreates a new hybrid table in the current/specified schema or replaces an existing table.
CREATE ICEBERG TABLECreates or replaces an Apache Iceberg™ table in the current/specified schema.
CREATE ICEBERG TABLE (AWS Glue as the Iceberg catalog)Creates or replaces an Apache Iceberg™ table in the current/specified schema using an Iceberg table that is registered in the AWS Glue Data Catalog.
CREATE ICEBERG TABLE (Delta files in object storage)Creates or replaces an Apache Iceberg™ table in the current/specified schema using Delta table files in object storage (external cloud storage).
CREATE ICEBERG TABLE (Iceberg files in object storage)Creates or replaces an Apache Iceberg™ table in the current/specified schema using Iceberg files in object storage (external cloud storage).
CREATE ICEBERG TABLE (Iceberg REST catalog)Creates or replaces an Apache Iceberg™ table in the current/specified schema for an Iceberg REST catalog.
CREATE ICEBERG TABLE (Snowflake as the Iceberg catalog)Creates or replaces an Apache Iceberg™ table that uses Snowflake as the Iceberg catalog in the current/specified schema.
CREATE IMAGE REPOSITORYCreates a new image repository in the current schema.
CREATE INDEXCreates a new secondary index in an existing hybrid table and populates the index with data.
CREATE INTEGRATIONCreates a new integration in the system or replaces an existing integration.
CREATE INTERACTIVE TABLECreates a new interactive table in the current/specified schema or replaces an existing table.
CREATE INTERACTIVE WAREHOUSECreates a new interactive virtual warehouse optimized for low-latency, high-concurrency workloads with interactive tables.
CREATE JOIN POLICYCreates a new join policy in the current/specified schema or replaces an existing join policy.
CREATE LISTINGCreate a free listing to share directly with specific consumers, with an inline YAML manifest, or from a file located in a stage location.
CREATE MAINTENANCE POLICYCreates a new maintenance policy in the current or specified schema.
CREATE MANAGED ACCOUNTCreates a new managed account.
CREATE MASKING POLICYCreates a new masking policy in the current/specified schema or replaces an existing masking policy.
CREATE MATERIALIZED VIEWCreates a new materialized view in the current/specified schema, based on a query of an existing table, and populates the view with data.
CREATE MCP SERVERCreates a new MCP (Model Context Protocol) server or replaces an existing MCP server.
CREATE MODELCreates a new machine learning model in the current/specified schema or replaces an existing model.
CREATE MODEL MONITORCreate or replace a model monitor in the current or specified schema.
CREATE NETWORK POLICYCreates a network policy or replaces an existing network policy.
CREATE NETWORK RULECreates a network rule or replaces an existing network rule.
CREATE NOTEBOOKCreates a new Snowflake notebook or replaces an existing notebook.
CREATE NOTEBOOK PROJECT
CREATE NOTIFICATION INTEGRATIONCreates a new notification integration in the account or replaces an existing integration.
CREATE NOTIFICATION INTEGRATION (email)Creates a new notification integration in the account or replaces an existing integration for sending email messages.
CREATE NOTIFICATION INTEGRATION (inbound from an Azure Event Grid topic)Creates a new notification integration in the account or replaces an existing integration for receiving messages from an Azure Event Grid topic.
CREATE NOTIFICATION INTEGRATION (inbound from a Google Pub/Sub topic)Creates a new notification integration in the account or replaces an existing integration for receiving messages from a Google Pub/Sub topic.
CREATE NOTIFICATION INTEGRATION (outbound to an Amazon SNS topic)Creates a new notification integration in the account or replaces an existing integration for sending a message to an Amazon SNS topic.
CREATE NOTIFICATION INTEGRATION (outbound to an Azure Event Grid topic)Creates a new notification integration in the account or replaces an existing integration for sending a message to an Azure Event Grid topic.
CREATE NOTIFICATION INTEGRATION (outbound to a Google Pub/Sub topic)Creates a new notification integration in the account or replaces an existing integration for sending a message to a Google Pub/Sub topic.
CREATE NOTIFICATION INTEGRATION (webhooks)Creates a new notification integration or replaces an existing integration for a webhook.
CREATE ONLINE FEATURE TABLECreates a new online feature table in the current/specified schema or replaces an existing table.
CREATE OR ALTER <object>CREATE OR ALTER commands are DDL commands that combine the functionality of the CREATE command and the ALTER command, enabling you to define an object using the syntax supported by the CREATE <object> command with the limitations of the ALTER <object> command.
CREATE ORGANIZATION ACCOUNTCreates a new organization account.
CREATE ORGANIZATION LISTINGCreate an organization listing to share data products securely within your organization.
CREATE ORGANIZATION PROFILECreate the organization profile that forms part of the Uniform Listing Locator (ULL) used to publish organizational listings or query organizational listing information without mounting the listing.
CREATE ORGANIZATION USERCreates a new organization user.
CREATE ORGANIZATION USER GROUPCreates a new organization user group.
CREATE PACKAGES POLICYCreates a new packages policy or replaces an existing packages policy.
CREATE PASSWORD POLICYCreates a new password policy or replaces an existing password policy.
CREATE PIPECreates a new pipe in the system for defining the COPY INTO <table> statement used by Snowpipe to load data from an ingestion queue, or by Snowpipe Streaming with high-performance architecture to load data from a streaming source directly into tables.
CREATE POSTGRES INSTANCECreates a new Snowflake Postgres instance or creates a fork of an existing instance.
CREATE PRIVACY POLICYCreates a new privacy policy or replaces an existing privacy policy.
CREATE PROCEDURECreates a new stored procedure.
CREATE PROJECTION POLICYCreates a new projection policy in the current/specified schema or replaces an existing projection policy.
CREATE PROVISIONED THROUGHPUTCreates a new Provisioned Throughput resource or replaces an existing one.
CREATE REPLICATION GROUPCreates a new replication group of specified objects in the system.
CREATE RESOURCE MONITORCreates a new resource monitor.
CREATE ROLECreate a new role or replace an existing role in the system.
CREATE ROW ACCESS POLICYCreates a new row access policy in the current/specified schema or replaces an existing row access policy.
CREATE SCHEMACreates a new schema in the current database.
CREATE SECRETCreates a new secret in the current or specified schema or replaces an existing secret.
CREATE SECURITY INTEGRATIONCreates a new security integration in the account or replaces an existing integration.
CREATE SECURITY INTEGRATION (External API Authentication)Creates a new security integration for external API Authentication in the account or replaces an existing integration.
CREATE SECURITY INTEGRATION (AWS IAM Authentication)Creates a new security integration for external authentication using Amazon Web Services (AWS) Identity and Access Management (IAM).
CREATE SECURITY INTEGRATION (External OAuth)Creates a new External OAuth security integration in the account or replaces an existing integration.
CREATE SECURITY INTEGRATION (Snowflake OAuth)Creates a new Snowflake OAuth security integration in the account or replaces an existing integration.
CREATE SECURITY INTEGRATION (SAML2)Creates a new SAML2 security integration in the account or replaces an existing integration.
CREATE SECURITY INTEGRATION (SCIM)Creates a new SCIM security integration in the account or replaces an existing integration.
CREATE SEMANTIC VIEWCreates a new semantic view in the current/specified schema.
CREATE SEQUENCECreates a new sequence, which can be used for generating sequential, unique numbers.
CREATE SERVICECreates a new Snowpark Container Services service in the current schema.
CREATE SESSION POLICYCreates a new session policy or replaces an existing session policy.
CREATE SHARECreates a new, empty share.
CREATE SNAPSHOTCreates or replaces a snapshot of a block storage volume for a specified volume and service instance.
CREATE SNAPSHOT POLICY — DeprecatedCreates a snapshot policy.
CREATE SNAPSHOT SET — DeprecatedCreates a snapshot set for a table, a schema, or a database.
CREATE STAGECreates a new named internal or external stage to use for loading data from files into Snowflake tables and unloading data from tables into files.
CREATE STORAGE INTEGRATIONCreates a new storage integration in the account or replaces an existing integration.
CREATE STORAGE LIFECYCLE POLICYCreates a new storage lifecycle policy in the current or specified schema, or replaces an existing policy.
CREATE STREAMCreates a new stream in the current/specified schema or replaces an existing stream.
CREATE STREAMLITCreates a new Streamlit object in Snowflake or replaces an existing Streamlit object in the same schema.
CREATE TABLECreates a new table in the current/specified schema, replaces an existing table, or alters an existing table.
CREATE | ALTER TABLE … CONSTRAINTThis topic describes how to create constraints by specifying a CONSTRAINT clause in a CREATE TABLE, CREATE HYBRID TABLE, or ALTER TABLE statement.
CREATE TAGCreates a new tag or replaces an existing tag in the system.
CREATE TASKCreates a new task in the current/specified schema or replaces an existing task.
CREATE TYPECreates a user-defined type.
CREATE USERCreates a new user or replaces an existing user in the system.
CREATE OR ALTER VERSIONED SCHEMACreates a new versioned schema or modifies an existing versioned schema.
CREATE VIEWCreates a new view in the current/specified schema, based on a query of one or more existing tables (or any other valid query expression).
CREATE WAREHOUSECreates a new virtual warehouse in the system.
D
DELETERemove rows from a table.
DESCRIBE <object>Describes the details for the specified object.
DESCRIBE AGENTDescribes the properties of a Cortex Agent.
DESCRIBE AGGREGATION POLICYDescribes the details about an aggregation policy, including the creation date, name, and the SQL expression.
DESCRIBE ALERTDescribes the properties of an alert.
DESCRIBE APPLICATIONDisplays information about a Snowflake Native App.
DESCRIBE APPLICATION PACKAGEDisplays information about an application package.
DESCRIBE AUTHENTICATION POLICYDescribes the properties of an authentication policy.
DESCRIBE AVAILABLE LISTINGDescribes the columns in the listings that are available to the user who runs the command.
DESCRIBE AVAILABLE ORGANIZATION PROFILEDescribes the active organization profile that can be associated with organizational listings.
DESCRIBE BACKUP POLICYDescribes a specific backup policy.
DESCRIBE BACKUP SETDescribes a specific backup set.
DESCRIBE CATALOG INTEGRATIONDescribes the properties of a catalog integration.
DESCRIBE COMPUTE POOLDescribes the properties of a compute pool.
DESCRIBE CONFIGURATIONDescribes the properties of a configuration.
DESCRIBE CORTEX SEARCH SERVICEDescribes the properties of a Cortex Search service.
DESCRIBE DATABASEDescribes the database.
DESCRIBE DBT PROJECTDescribes the properties of a dbt project object.
DESCRIBE DCM PROJECTDescribes the properties of a DCM project.
DESCRIBE DYNAMIC TABLEDescribes the columns in a dynamic table.
DESCRIBE EVENT TABLEDescribes the columns in an event table.
DESCRIBE EXTERNAL AGENTDescribes the properties of an external agent.
DESCRIBE EXTERNAL TABLEDescribes the VALUE column and virtual columns in an external table.
DESCRIBE EXTERNAL VOLUMEDescribes the properties of an external volume.
DESCRIBE FEATURE POLICYDescribes the properties of a feature policy.
DESCRIBE FILE FORMATDescribes the property type (for example, String or Integer), the defined value of the property, and the default value for each property in a file format object definition.
DESCRIBE FUNCTIONDescribes the specified user-defined function (UDF) or external function, including the signature (i.e. arguments), return value, language, and body (i.e. definition).
DESCRIBE FUNCTION (DMF)Describes the specified data metric function (DMF), including the signature (arguments), return value, language, and body (definition).
DESCRIBE FUNCTION (Snowpark Container Services)Describes the specified service function, including the signature (arguments), return value, language, and body (path to the Snowpark Container Services service).
DESCRIBE GATEWAYDescribes the properties of a gateway.
DESCRIBE GIT REPOSITORYDescribes an existing Snowflake Git repository clone.
DESCRIBE ICEBERG TABLEDescribes either the columns in an Apache Iceberg™ table or the current values, as well as the default values, for the properties of an Iceberg table.
DESCRIBE INTEGRATIONDescribes the properties of an integration.
DESCRIBE JOIN POLICYDescribes the details about a join policy, including the creation date, name, and the SQL expression.
DESCRIBE LISTINGDescribes the columns in a listing.
DESCRIBE MAINTENANCE POLICYShows the details of a maintenance policy.
DESCRIBE MASKING POLICYDescribes the details about a masking policy, including the creation date, name, data type, and SQL expression.
DESCRIBE MATERIALIZED VIEWDescribes the columns in a materialized view.
DESCRIBE MCP SERVERDescribes the properties of an MCP (Model Context Protocol) server.
DESCRIBE MODEL MONITORDisplays information about a specific model monitor.
DESCRIBE NETWORK POLICYDescribes the properties specified for a network policy.
DESCRIBE NETWORK RULEDescribes the properties specified for a network rule.
DESCRIBE NOTEBOOKDescribes the properties of a notebook.
DESCRIBE NOTIFICATION INTEGRATIONDescribes the properties of a notification integration.
DESCRIBE OPENFLOW DATA PLANE INTEGRATIONDescribes the columns in an Openflow data plane integration.
DESCRIBE ONLINE FEATURE TABLEDescribes the columns in an online feature table.
DESCRIBE ORGANIZATION PROFILEDescribes the properties of an organization profile.
DESCRIBE PACKAGES POLICYDescribes the details about a packages policy.
DESCRIBE PASSWORD POLICYDescribes the details about a password policy.
DESCRIBE PIPEDescribes the properties specified for a pipe, as well as the default values of the properties.
DESCRIBE POSTGRES INSTANCEDescribes the properties of a Snowflake Postgres instance.
DESCRIBE PRIVACY POLICYDescribes the properties of a privacy policy.
DESCRIBE PROCEDUREDescribes the specified stored procedure, including the stored procedure’s signature (i.e. arguments), return value, language, and body (i.e. definition).
DESCRIBE PROJECTION POLICYDescribes the details about a projection policy, including the creation date, name, and the SQL expression.
DESCRIBE RESULTDescribes the columns in the result of a query.
DESCRIBE ROW ACCESS POLICYDescribes a row access policy, including the creation date, name, data type, and SQL expression.
DESCRIBE SCHEMADescribes the schema.
DESCRIBE SEARCH OPTIMIZATIONDescribes the search optimization configuration for a specified table and its columns.
DESCRIBE SECRETDescribes the properties of a secret.
DESCRIBE SEMANTIC VIEWDescribes the properties of the logical tables, dimensions, facts, and metrics that make up a semantic view.
DESCRIBE SEQUENCEDescribes a sequence, including the sequence’s interval.
DESCRIBE SERVICEDescribes the properties of a Snowpark Container Services service (including job services).
DESCRIBE SESSION POLICYDescribes the details about a session policy.
DESCRIBE SHAREDescribes the data objects that are included in a share.
DESCRIBE SNAPSHOTDescribes the properties of a snapshot of a block storage volume.
DESCRIBE SNAPSHOT POLICYDescribes a specific snapshot policy.
DESCRIBE SNAPSHOT SETDescribes a specific snapshot set.
DESCRIBE SPECIFICATIONDescribes the details about an app specification.
DESCRIBE STAGEDescribes the values specified for the properties in a stage (file format, copy, and location), as well as the default values for each property.
DESCRIBE STORAGE LIFECYCLE POLICYDescribes the properties of a storage lifecycle policy.
DESCRIBE STREAMDescribes the properties specified for a stream.
DESCRIBE STREAMLITDescribes the columns in a Streamlit object.
DESCRIBE TABLEDescribes either the columns in a table or the set of stage properties for the table (current values and default values).
DESCRIBE TASKShows information about a task.
DESCRIBE TRANSACTIONDescribes the transaction, including the start time and the state (running, committed, rolled back).
DESCRIBE TYPEDescribes a user-defined type.
DESCRIBE USERDescribes a user, including the current and default values of the properties of the user.
DESCRIBE VIEWDescribes the columns in a view (or table).
DESCRIBE WAREHOUSEDescribes a virtual warehouse.
DROP <object>Removes the specified object from the system.
DROP ACCOUNTDrops an account, which initiates the process of deleting the account.
DROP AGENTRemoves the specified Cortex Agent with the specified name from the current or specified database and schema.
DROP AGGREGATION POLICYRemoves an aggregation policy from the current/specified schema.
DROP ALERTDrops an existing alert.
DROP APPLICATIONRemoves an application from the system in the Native Apps Framework.
DROP APPLICATION PACKAGERemoves an application package from the system in the Native Apps Framework.
DROP APPLICATION ROLERemoves the specified application role from the system.
DROP AUTHENTICATION POLICYRemoves an authentication policy from the system.
DROP BACKUP POLICYDeletes a backup policy.
DROP BACKUP SETDeletes a backup set.
DROP CATALOG INTEGRATIONRemoves a catalog integration from the account.
DROP COMPUTE POOLRemoves the specified compute pool from the account.
DROP CONNECTIONRemoves a connection from the account.
DROP CONTACTRemoves the specified contact from the current schema.
DROP CORTEX SEARCH SERVICERemoves the specified Cortex Search service from the current schema.
DROP DATABASERemoves a database from the system.
DROP DATABASE ROLERemoves the specified database role from the system.
DROP DBT PROJECTRemoves the specified dbt project object from the current or specified schema.
DROP DCM PROJECTRemoves the specified DCM project from the current/specified schema.
DROP DYNAMIC TABLERemoves a dynamic table from the current/specified schema.
DROP EXPERIMENTRemoves the specified experiment from the current/specified schema.
DROP EXTERNAL AGENTRemoves the specified external agent from the current/specified schema.
DROP EXTERNAL TABLERemoves an external table from the current or specified schema.
DROP EXTERNAL VOLUMERemoves an external volume from the account, but retains a version of the external volume so that it can be recovered using UNDROP EXTERNAL VOLUME.
DROP FAILOVER GROUPRemoves a failover group from the account.
DROP FEATURE POLICYRemoves the specified feature policy.
DROP FILE FORMATRemoves the specified file format from the current/specified schema.
DROP FUNCTIONRemoves the specified user-defined function (UDF) or external function from the current/specified schema.
DROP FUNCTION (DMF)Removes the specified data metric function (DMF) from the current or specified schema.
DROP FUNCTION (Snowpark Container Services)Removes the specified service function.
DROP GATEWAYRemoves the specified gateway from the current or specified schema.
DROP GIT REPOSITORYRemoves the specified Snowflake Git repository clone from the current/specified schema.
DROP ICEBERG TABLERemoves an Apache Iceberg™ table from the current/specified schema, but retains a version of the Iceberg table so that it can be recovered using UNDROP ICEBERG TABLE.
DROP IMAGE REPOSITORYRemoves the specified image repository from the current or specified schema.
DROP INDEXDrops a secondary index.
DROP INTEGRATIONRemoves an integration from the account.
DROP JOIN POLICYRemoves a join policy from the current/specified schema.
DROP LISTINGRemoves the specified listing from the system and immediately revokes access for all consumers.
DROP MAINTENANCE POLICYRemoves a maintenance policy from the current or specified schema.
DROP MANAGED ACCOUNTRemoves a managed account, including all objects created in the account, and immediately restricts access to the account.
DROP MASKING POLICYRemoves a masking policy from the system.
DROP MATERIALIZED VIEWRemoves the specified materialized view from the current/specified schema.
DROP MCP SERVERRemoves the specified MCP (Model Context Protocol) server from the current/specified schema.
DROP MODELRemoves a machine learning model from the current/specified schema.
DROP MODEL MONITORRemoves the specified model monitor from the current or specified schema.
DROP NETWORK POLICYRemoves the specified network policy from the system.
DROP NETWORK RULERemoves the specified network rule from the system.
DROP NOTEBOOKRemoves the specified notebook from the current/specified schema, but retains a version of the notebook so that it can be recovered using UNDROP NOTEBOOK.
DROP ONLINE FEATURE TABLERemoves the specified online feature table from the current/specified schema.
DROP ORGANIZATION PROFILERemoves an organization profile.
DROP ORGANIZATION USERRemoves an organization user from the organization.
DROP ORGANIZATION USER GROUPRemoves an organization user group from the organization.
DROP PACKAGES POLICYRemoves a packages policy from the system.
DROP PASSWORD POLICYRemoves a password policy from the system.
DROP PIPERemoves the specified pipe from the current/specified schema.
DROP POSTGRES INSTANCERemoves the specified Snowflake Postgres instance from the account.
DROP PRIVACY POLICYRemoves the specified privacy policy from the current/specified schema.
DROP PROCEDURERemoves the specified stored procedure from the current/specified schema.
DROP PROJECTION POLICYRemoves a projection policy from the current/specified schema.
DROP REPLICATION GROUPRemoves a replication group from the account.
DROP RESOURCE MONITORRemoves the specified resource monitor from the system.
DROP ROLERemoves the specified role from the system.
DROP ROW ACCESS POLICYRemoves a row access policy from the system.
DROP SCHEMARemoves a schema from the current/specified database.
DROP SECRETRemoves a secret from the system.
DROP SEMANTIC VIEWRemoves the specified semantic view from the current/specified schema.
DROP SEQUENCERemoves a sequence from the current/specified schema.
DROP SERVICERemoves the specified Snowpark Container Services service from the current or specified schema.
DROP SESSION POLICYRemoves a session policy from the system.
DROP SHARERemoves the specified share from the system and immediately revokes access for all consumers (i.e. accounts who have created a database from the share).
DROP SNAPSHOTRemoves a snapshot of a block storage volume.
DROP SNAPSHOT POLICY — DeprecatedDeletes a snapshot policy.
DROP SNAPSHOT SET — DeprecatedDeletes a snapshot set.
DROP STAGERemoves the specified named internal or external stage from the current/specified schema.
DROP STORAGE LIFECYCLE POLICYRemoves the specified storage lifecycle policy from the current or specified schema.
DROP STREAMRemoves a stream from the current/specified schema.
DROP STREAMLITRemoves the specified Streamlit object from the current/specified schema.
DROP TABLERemoves a table from the current or specified schema, but retains a version of the table so that it can be recovered by using UNDROP TABLE.
DROP TAGRemoves a tag from the system.
DROP TASKRemoves a task from the current/specified schema.
DROP TYPERemoves a user-defined type.
DROP USERRemoves the specified user from the system.
DROP VIEWRemoves the specified view from the current/specified schema.
DROP WAREHOUSERemoves the specified virtual warehouse from the system.
E
EXECUTE ALERTManually executes an alert independent of the schedule for the alert.
EXECUTE DBT PROJECTExecutes the specified dbt project object or the dbt project in a Snowflake workspace using the dbt command and command-line options specified.
EXECUTE DCM PROJECTExecutes one of the following actions on a DCM project.
EXECUTE IMMEDIATEExecutes a string that contains a SQL statement or a Snowflake Scripting statement.
EXECUTE IMMEDIATE FROMEXECUTE IMMEDIATE FROM executes the SQL statements specified in a file in a stage.
EXECUTE JOB SERVICEExecutes a Snowpark Container Services service as a job.
EXECUTE NOTEBOOKExecutes the notebook outside the Notebook Editor.
EXECUTE NOTEBOOK PROJECTExecutes a notebook stored in a notebook project (NPO).
EXECUTE TASKManually triggers an asynchronous single run of a task (either a standalone task or the root task in a task graph) independent of the schedule defined for the task.
EXPLAINReturns the logical execution plan for the specified SQL statement.
G
GETDownloads data files from one of the following internal stage types to a local directory or folder on a client machine.
GRANT APPLICATION ROLEAssigns an application role to an account role, another application role, an application, or a user.
GRANT CALLERGrants caller grants to a role.
GRANT DATABASE ROLEAssigns a database role to an account role, another database role, or a user.
GRANT DATABASE ROLE … TO SHAREGrants a database role to a share.
GRANT OWNERSHIPTransfers ownership of an object or all objects of a specified type in a schema from one role to another role.
GRANT <privileges> … TO ROLEGrants one or more access privileges on a securable object to a role or database role.
GRANT <privileges> … TO APPLICATIONGrants one or more access privileges on a securable object to an application.
GRANT <privileges> … TO APPLICATION ROLEGrants one or more access privileges on a securable schema-level object to an application role.
GRANT <privilege> … TO SHAREGrants access privileges for databases and other supported database objects (schemas, UDFs, tables, and views) to a share.
GRANT <privileges> … TO USERGrants one or more access privileges on a securable object to a user.
GRANT ROLEAssigns a role to a user or another role.
GRANT SERVICE ROLEAssigns a service role to an account role, application role, or database role.
I
INSERTUpdates a table by inserting one or more rows into the table.
INSERT (multi-table)Updates multiple tables by inserting one or more rows with column values (from a query) into the tables.
L
LISTReturns a list of files from one of the following Snowflake storage features.
M
MERGEInserts, updates, and deletes values in a table that are based on values in a second table or a subquery.
P
PUTUploads one or more data files from a local file system onto an internal stage.
R
REMOVERemoves files from either an external (external cloud storage) or internal (i.e. Snowflake) stage.
REVOKE APPLICATION ROLERevokes an application role from an account role or another application role.
REVOKE CALLERRevokes privileges that were previously granted to an executable owner using a caller grant.
REVOKE DATABASE ROLERevokes a database role from an account role or another database role.
REVOKE DATABASE ROLE … FROM SHARERevokes a database role from a share.
REVOKE <privileges> … FROM ROLERemoves one or more privileges on a securable object from a role or database role.
REVOKE <privileges> … FROM APPLICATIONRevokes one or more access privileges on a securable object from an application.
REVOKE <privileges> … FROM APPLICATION ROLERevokes one or more access privileges on a securable schema-level object from an application role.
REVOKE <privilege> … FROM SHARERevokes access privileges for databases and other supported database objects (schemas, tables, and views) from a share.
REVOKE <privileges> … FROM USERRemoves one or more privileges on a securable object from a user.
REVOKE ROLERemoves a role from another role or a user.
REVOKE SERVICE ROLERevokes a service role from an account role, application role, or database role.
ROLLBACKRolls back an open transaction in the current session.
S
SELECTSELECT can be used as either a statement or as a clause within other statements.
SETInitializes the value of a session variable to the result of a SQL expression.
SHOW <objects>Lists the existing objects for the specified object type.
SHOW ACCOUNTSLists all the accounts in your organization, excluding managed accounts.
SHOW AGENTSLists the Cortex Agents for which you have access privileges.
SHOW AGGREGATION POLICIESLists information about existing aggregation policies, including the creation date, database and schema names, owner, and any available comments.
SHOW ALERTSLists the alerts for which you have access privileges.
SHOW APPLICATION PACKAGESLists the application packages for which you have access privileges across your entire account in the Native Apps Framework.
SHOW APPLICATION ROLESLists the application roles in the specified app for which you have access privileges.
SHOW APPLICATIONSLists the Snowflake Native Apps that you have access privileges for across your entire account.
SHOW AUTHENTICATION POLICIESLists authentication policy information, including the creation date, database and schema names, owner, and any available comments.
SHOW AVAILABLE LISTINGSLists the listings that are available to the user who runs the command.
SHOW AVAILABLE OFFERSLists the offers that are available to the user who runs the command.
SHOW AVAILABLE ORGANIZATION PROFILESLists the organization profiles available in the user’s organization.
SHOW BACKUP POLICIESLists all the backup policies in your account for which you have access privileges.
SHOW BACKUP SETSLists all the backup sets for which you have access privileges.
SHOW BACKUPS IN BACKUP SETLists all the backups in a backup set.
SHOW CALLER GRANTSLists the caller grants being used to implement restricted caller’s rights.
SHOW CATALOG INTEGRATIONSLists the catalog integrations in your account.
SHOW CHANNELSLists the Snowpipe Streaming channels for which you have access privileges.
SHOW CLASSESLists all available classes.
SHOW COLUMNSLists the columns in the tables or views and the dimensions, facts, and metrics in the semantic views for which you have access privileges.
SHOW COMPUTE POOL INSTANCE FAMILIESLists the available compute pool instance families that you can use to create a compute pool.
SHOW COMPUTE POOLSLists the compute pools in your account for which you have access privileges.
SHOW CONFIGURATIONSLists the configurations in the specified app for which you have access privileges.
SHOW CONNECTIONSLists the connections for which you have access privileges.
SHOW CONTACTSLists the contacts for which you have access privileges.
SHOW CORTEX SEARCH SERVICESLists the Cortex Search services for which you have access privileges.
SHOW DATA METRIC FUNCTIONSLists the data metric functions (DMFs) for which you have access privileges.
SHOW DATABASE ROLESLists all the database roles in the specified database.
SHOW DATABASESLists the databases for which you have access privileges across your entire account, including dropped databases that are still within the Time Travel retention period and, therefore, can be undropped.
SHOW DATABASES IN FAILOVER GROUPLists databases in a failover group.
SHOW DATABASES IN REPLICATION GROUPLists databases in a replication group.
SHOW DATASETSDisplays information about the datasets in your account.
SHOW DBT PROJECTSLists the dbt project objects for which you have access privileges.
SHOW DCM PROJECTSLists the DCM projects for which you have at least READ privilege.
SHOW DELEGATED AUTHORIZATIONSLists the active delegated authorizations for which you have access privileges.
SHOW DEPLOYMENTS IN DCM PROJECTShows all deployments for the specified DCM project.
SHOW DYNAMIC TABLESLists the dynamic tables for which you have access privileges.
SHOW ENDPOINTSLists the endpoints in a Snowpark Container Services service (or a job service).
SHOW ENTITIES IN DCM PROJECTShows all Snowflake objects that are currently managed by a specified DCM project.
SHOW EVENT TABLESLists the event tables for which you have access privileges, including dropped tables that are still within the Time Travel retention period and, therefore, can be undropped.
SHOW EXPERIMENTSLists the experiments for which you have access privileges.
SHOW EXTERNAL AGENTSLists the external agents for which you have access privileges.
SHOW EXTERNAL FUNCTIONSLists all the external functions created for your account.
SHOW EXTERNAL TABLESLists the external tables for which you have access privileges.
SHOW EXTERNAL VOLUMESLists the external volumes in your account for which you have access privileges.
SHOW FAILOVER GROUPSLists the primary and secondary failover groups in your account, as well as the failover groups in other accounts that are associated with your account.
SHOW FEATURE POLICIESLists the feature policies for which you have access privileges.
SHOW FILE FORMATSLists the file formats for which you have access privileges.
SHOW FUNCTIONSLists all functions that you have privileges to access, including built-in, user-defined, and external functions.
SHOW FUNCTIONS IN MODELLists functions defined in machine learning models.
SHOW GATEWAYSLists the gateway for which you have access privileges.
SHOW GIT BRANCHESLists the branches in the specified Snowflake Git repository clone.
SHOW GIT REPOSITORIESLists the Git repository clones that you have privileges to access.
SHOW GIT TAGSLists the tags in the specified Snowflake Git repository clone.
SHOW GLOBAL ACCOUNTSLists all the accounts in your organization that are enabled for replication and indicates the Snowflake Region in which each account is located.
SHOW GRANTSLists all access control privileges that have been explicitly granted to roles, users, and shares.
SHOW GRANTS IN DCM PROJECTSHOW GRANTS IN DCM PROJECT lists all grants deployed and managed by the specified DCM project.
SHOW HYBRID TABLESLists the hybrid tables for which you have access privileges.
SHOW ICEBERG TABLESLists the Apache Iceberg™ tables for which you have access privileges.
SHOW IMAGE REPOSITORIESLists the image repositories for which you have access privileges.
SHOW IMAGES IN IMAGE REPOSITORYLists the images in an image repository.
SHOW INDEXESLists all the indexes in your account for which you have access privileges.
SHOW INTEGRATIONSLists the integrations in your account.
SHOW JOIN POLICIESLists information about existing join policies, including the creation date, database and schema names, owner, and any available comments.
SHOW LISTINGSLists the listings that you have privileges to access.
SHOW LISTINGS IN FAILOVER GROUPShows the listings in a failover group.
SHOW LOCKSLists all running transactions that have locks on resources.
SHOW MAINTENANCE POLICIESLists the maintenance policies applied to the specified account or app.
SHOW MANAGED ACCOUNTSLists the managed accounts created for your account.
SHOW MASKING POLICIESLists masking policy information, including the creation date, database and schema names, owner, and any available comments.
SHOW MATERIALIZED VIEWSLists the materialized views that you have privileges to access.
SHOW MCP SERVERSLists the MCP (Model Context Protocol) servers for which you have access privileges.
SHOW MFA METHODSLists the second factors of authentication that a user enrolled in multi-factor authentication uses to sign in to Snowflake.
SHOW MODEL MONITORSLists all model monitor that you can access in the current or specified schema and displays information about each one.
SHOW MODELSLists the machine learning models that you have privileges to access.
SHOW NETWORK POLICIESLists all network policies defined in the system.
SHOW NETWORK RULESLists all network rules defined in the system.
SHOW NOTEBOOK PROJECTSLists the notebook projects (Snowflake NOTEBOOK objects) visible to the current role.
SHOW NOTEBOOKSLists the notebooks for which you have access privileges.
SHOW NOTIFICATION INTEGRATIONSLists the notification integrations in your account.
SHOW OBJECTSLists the tables and views for which you have access privileges.
SHOW OBJECTS OWNED BY APPLICATIONLists the objects owned by an app that exists outside the app.
SHOW OFFERSProvides information about all offers added to a listing.
SHOW OPENFLOW DATA PLANE INTEGRATIONSList OPENFLOW DATA PLANE INTEGRATIONS.
SHOW ONLINE FEATURE TABLESLists the online feature tables for which you have access privileges.
SHOW ORGANIZATION ACCOUNTSLists the organization account of the organization.
SHOW ORGANIZATION PROFILESLists the organization profiles for which you have access privileges.
SHOW ORGANIZATION USER GROUPSLists organization user groups.
SHOW ORGANIZATION USERSLists organization users.
SHOW PACKAGES POLICIESLists packages policy information.
SHOW PARAMETERSLists all the account, session, and object parameters that can be set, as well as the current and default values for each parameter.
SHOW PASSWORD POLICIESLists password policy information, including the creation date, database and schema names, owner, and any available comments.
SHOW PIPESLists the pipes for which you have access privileges.
SHOW POSTGRES INSTANCESLists the Snowflake Postgres instances for which you have access privileges.
SHOW PRICING PLANSLists visible and hidden pricing plans.
SHOW PRIMARY KEYSLists primary keys for one or more tables.
SHOW PRIVACY POLICIESLists the privacy policies for which you have access privileges.
SHOW PRIVILEGESLists the privileges granted to an application.
SHOW PROCEDURESLists all stored procedures that you have privileges to access, including built-in and user-defined procedures.
SHOW PROJECTION POLICIESLists projection policy information, including the creation date, database and schema names, owner, and any available comments.
SHOW REFERENCESLists the references defined for an application in the manifest file and the references the consumer has associated to the application.
SHOW REGIONSLists all the regions in which accounts can be created.
SHOW RELEASE CHANNELSLists the release channels for an application package or listing.
SHOW RELEASE DIRECTIVESLists the release directives defined for an application package.
SHOW REPLICATION ACCOUNTSLists all the accounts in your organization that are enabled for replication and indicates the region in which each account is located.
SHOW REPLICATION DATABASESLists all the primary and secondary databases (that is to say, all the databases for which replication has been enabled) in your account and indicates the region in which each account is located.
SHOW REPLICATION GROUPSDisplays information about replication groups and failover groups.
SHOW RESOURCE MONITORSLists all the resource monitors in your account for which you have access privileges.
SHOW ROLESLists all the roles which you can view across your entire account, including the system-defined roles and any custom roles that exist.
SHOW ROLES IN SERVICELists all the service roles associated with a service.
SHOW ROW ACCESS POLICIESLists the row access policies for which you have access privileges.
SHOW RUN … IN EXPERIMENTDisplays logged parameters or metrics for experiment runs.
SHOW RUNS IN EXPERIMENTLists the runs in an experiment.
SHOW SCHEMASLists the schemas for which you have access privileges, including dropped schemas that are still within the Time Travel retention period and, therefore, can be undropped.
SHOW SECRETSLists the secrets for which you have rights to see.
SHOW SEMANTIC DIMENSIONSLists the dimensions in the semantic views for which you have access privileges.
SHOW SEMANTIC DIMENSIONS FOR METRICLists the dimensions that you can return when querying a specific metric in a semantic view.
SHOW SEMANTIC FACTSLists the facts in the semantic views for which you have access privileges.
SHOW SEMANTIC METRICSLists the metrics in the semantic views for which you have access privileges.
SHOW SEMANTIC VIEWSLists the semantic views for which you have access privileges.
SHOW SEQUENCESLists all the sequences for which you have access privileges.
SHOW SERVICE CONTAINERS IN SERVICELists the containers in all instances of a service.
SHOW SERVICE INSTANCES IN SERVICELists instances of a service.
SHOW SERVICE VOLUMES IN SERVICELists the storage volumes for all instances of a service.
SHOW SERVICESLists the Snowpark Container Services services (including job services) for which you have access privileges.
SHOW SESSION POLICIESLists session policy information, including the creation date, database and schema names, owner, and any available comments.
SHOW SHARED CONTENT IN APPLICATION PACKAGEShows all of the objects for which you have access privileges that have been shared from a Declarative Native App application package.
SHOW SHARESLists all shares available in the system.
SHOW SHARES IN FAILOVER GROUPLists shares in a failover group.
SHOW SHARES IN REPLICATION GROUPLists shares in a replication group.
SHOW SNAPSHOT POLICIES — DeprecatedLists all the snapshot policies in your account for which you have access privileges.
SHOW SNAPSHOT SETS — DeprecatedLists all the snapshot sets for which you have access privileges.
SHOW SNAPSHOTSLists the snapshots of block storage volumes for which you have access privileges.
SHOW SNAPSHOTS IN SNAPSHOT SET — DeprecatedLists all the snapshots in a snapshot set.
SHOW SPECIFICATIONSLists the app specifications that have been defined for an app.
SHOW STAGESLists all the stages for which you have access privileges.
SHOW STORAGE LIFECYCLE POLICIESLists the storage lifecycle policies for which you have access privileges.
SHOW STREAMLITSLists the Streamlit objects for which you have access privileges.
SHOW STREAMSLists the streams for which you have access privileges.
SHOW TABLESLists the tables for which you have access privileges, including dropped tables that are still within the Time Travel retention period and, therefore, can be undropped.
SHOW TAGSLists the tag information.
SHOW TASKSLists the tasks for which you have access privileges.
SHOW TELEMETRY EVENT DEFINITIONSLists the event definitions for the specified app.
SHOW TRANSACTIONSList all running transactions.
SHOW TYPESLists the user-defined types for which you have access privileges.
SHOW USER FUNCTIONSLists all user-defined functions (UDFs) for which you have access privileges.
SHOW USER PROCEDURESLists all user-defined procedures for which you have access privileges.
SHOW USER PROGRAMMATIC ACCESS TOKENSLists the programmatic access tokens associated with a user.
SHOW USER WORKLOAD IDENTITY AUTHENTICATION METHODSRelated Topics
SHOW USERSLists all users in the system.
SHOW VARIABLESLists all variables defined in the current session.
SHOW VERSIONS IN APPLICATION PACKAGELists the versions defined in the specified application package.
SHOW VERSIONS IN DATASETDisplays information about the datasets in your account at either the schema or database level.
SHOW VERSIONS IN DBT PROJECTDisplays a list of all versions of a dbt project object.
SHOW VERSIONS IN LISTINGLists and provides details of all listing versions.
SHOW VERSIONS IN MODELLists the versions in a machine learning model.
SHOW VERSIONS IN ORGANIZATION PROFILELists the organization profile versions for which you have access privileges.
SHOW VIEWSLists the views, including secure views, for which you have access privileges.
SHOW WAREHOUSESLists all the virtual warehouses in your account for which you have access privileges.
SHOW WORKSPACESLists the workspaces for which you have access privileges.
T
TRUNCATE MATERIALIZED VIEWRemoves all rows from a materialized view, but leaves the view intact (including all privileges and constraints on the materialized view).
TRUNCATE TABLERemoves all rows from a table but leaves the table intact (including all privileges and constraints on the table).
U
UNDROP <object>Restores the specified object to the system.
UNDROP ACCOUNTRestores a dropped account that has not yet been permanently deleted (a dropped account that is within its grace period).
UNDROP DATABASERestores the most recent version of a dropped database.
UNDROP DYNAMIC TABLERestores the most recent version of a dropped dynamic table.
UNDROP EXTERNAL VOLUMERestores the most recent version of a dropped external volume.
UNDROP ICEBERG TABLERestores the most recent version of a dropped Apache Iceberg™ table.
UNDROP NOTEBOOKRestores the most recent version of a dropped notebook.
UNDROP SCHEMARestore the most recent version of a dropped schema.
UNDROP SNAPSHOTRestores a previously removed snapshot of a block storage volume.
UNDROP STREAMLITRestores the most recent version of a dropped Streamlit object.
UNDROP TABLERestores the most recent version of a dropped table.
UNDROP TAGRestores the most recent version of a tag to the system.
UNDROP TYPERestores the most recent version of a user-defined type.
UNSETDrops a session variable.
UPDATEUpdates specified rows in the target table with new values.
USE <object>Specifies the role, warehouse, database, or schema to use for the current session.
USE DATABASESpecifies the active/current database for the session.
USE ROLESpecifies the active/current primary role for the session.
USE SCHEMASpecifies the active/current schema for the session.
USE SECONDARY ROLESSpecifies the active/current secondary roles for the session.
USE WAREHOUSESpecifies the active/current virtual warehouse for the session.