SQL statements

All 682 documented SQL statements, by leading keyword.

ALTER (114)BEGIN (1)CALL (1)COMMENT (1)COMMIT (1)COPY (3)CREATE (116)DELETE (1)DESCRIBE (93)DROP (98)EXECUTE (13)EXPERIMENT (1)EXPLAIN (1)GET (1)GRANT (10)INSERT (1)LIST (1)MERGE (1)PUT (1)REMOVE (1)REVOKE (7)ROLLBACK (1)SELECT (1)SET (1)SHOW (188)TRUNCATE (2)UNDROP (15)UNSET (1)UPDATE (1)USE (5)Not in the SQL reference (33)

ALTER (114)

StatementSupportAreaDescription
ALTER ACCOUNTpartialAccounts, users, sessions, warehousesModifies an account. The ALTER ACCOUNT command has two purposes:
ALTER ACCOUNT SET INGRESS POLICYpreviewnot supportedIntegrations, network & secretsAttaches an ingress policy to the current account, or removes that attachment.
ALTER AGENTsupportedAI & MLModifies the properties or specification for an existing Cortex Agent.
ALTER AGGREGATION POLICYEnterprise+supportedGovernance (policies, tags, data quality)Replaces the existing rules or comment of an aggregation policy. Also allows you to rename an aggregation policy.
ALTER ALERTsupportedUDFs, procedures, tasks, alerts, scriptingModifies the properties of an existing alert and suspends or resumes an existing alert.
ALTER API INTEGRATIONsupportedIntegrations, network & secretsModifies the properties of an existing API integration.
ALTER APPLICATIONpartialNative apps, listings & sharingModifies the properties of an installed Snowflake Native App. Use ALTER APPLICATION to upgrade an app to a specific version or patch. This command is also used…
ALTER APPLICATION DROP CONFIGURATION DEFINITIONsupportedNative apps, listings & sharingDeletes the app configuration definition for a Snowflake Native App.
ALTER APPLICATION DROP SPECIFICATIONsupportedNative apps, listings & sharingDrops an app specification from an app.
ALTER APPLICATION PACKAGEpartialNative apps, listings & sharingModifies the properties of an existing application package.
ALTER APPLICATION ROLEpartialNative apps, listings & sharingModifies the properties for an existing application role.
ALTER APPLICATION SERVICEpartialNative apps, listings & sharingModifies the configuration or lifecycle state of an existing Application Service. You can suspend, resume, disable, enable, or upgrade the service, and you can…
ALTER APPLICATION SET CONFIGURATION DEFINITIONsupportedNative apps, listings & sharingCreates or updates an app configuration for a Snowflake Native App.
ALTER APPLICATION SET CONFIGURATION VALUEsupportedNative apps, listings & sharingSets a value in an app configuration definition for a Snowflake Native App.
ALTER APPLICATION SET SPECIFICATIONpartialNative apps, listings & sharingCreates or updates an app specification for a Snowflake Native App.
ALTER APPLICATION UNSET CONFIGURATIONsupportedNative apps, listings & sharingUnsets an app configuration definition for a Snowflake Native App.
ALTER ARTIFACT REPOSITORYpartialContainer services & dev toolingModifies the properties of an existing artifact repository.
ALTER AUTHENTICATION POLICYsupportedGovernance (policies, tags, data quality)Modifies the properties of an authentication policy.
ALTER BACKUP POLICYBusiness Critical+supportedReplication, failover & backupModifies the properties of a backup policy. The following changes are supported:
ALTER BACKUP SETBusiness Critical+supportedReplication, failover & backupModifies the properties for a backup set. This operation can be one of the following:
ALTER CATALOG INTEGRATIONsupportedIceberg & external tablesModifies the properties of an existing catalog integration.
ALTER CODE BUNDLEsupportedContainer services & dev toolingModifies an existing Code Bundle. Use this command to add a new version of the bundle’s source files, or to set or unset its comment.
ALTER COMPUTE POOLsupportedContainer services & dev toolingModifies the properties of an existing compute pool.
ALTER CONNECTIONBusiness Critical+partialReplication, failover & backupModifies the properties for an existing connection.
ALTER CONTACTsupportedAccounts, users, sessions, warehousesModifies the properties of an existing contact.
ALTER CORTEX SEARCH SERVICEpartialAI & MLSuspends, resumes, or modifies the properties of an existing Cortex Search service.
ALTER DATA MOVEMENT POLICYEnterprise+partialGovernance (policies, tags, data quality)Modifies the properties of an existing data movement policy. You can replace, add to, or remove from the rule lists, set or unset the comment, and rename the…
ALTER DATA MOVEMENT RULEEnterprise+supportedGovernance (policies, tags, data quality)Replaces the MAX_ROWS expression of an existing data movement rule, sets or unsets its comment, or renames the rule.
ALTER DATABASEpartialDatabases & schemasModifies the properties for an existing database.
ALTER DATABASE ROLEsupportedAccess control (grants, roles)Modifies the properties for an existing database role.
ALTER DATASETsupportedAI & MLModifies a dataset by adding or dropping dataset versions. When you add a version, you can specify properties such as partitioning, comments, or custom…
ALTER DBT PROJECTpartialContainer services & dev toolingModifies the properties of an existing dbt project object.
ALTER DCM PROJECTdeferredContainer services & dev toolingModifies the properties of an existing DCM project.
ALTER DYNAMIC TABLEsupportedTables, views, streams, sequencesModifies the properties of a dynamic table.
ALTER EVENT ROUTING TABLEpartialAccounts, users, sessions, warehousesAlters an event routing table used to route events to a centralized location. You can make the following changes to an event routing table:
ALTER EXPERIMENTpartialAI & MLModifies the properties of an existing experiment.
ALTER EXTERNAL ACCESS INTEGRATIONpartialIntegrations, network & secretsModifies the properties of an existing external access integration.
ALTER EXTERNAL AGENTsupportedAI & MLModifies the properties of an existing external agent. External agents represent generative AI applications in Snowflake for use with AI Observability.
ALTER EXTERNAL CONSUMERpartialNative apps, listings & sharingModifies the properties of an existing external consumer, or manages its programmatic access tokens (PATs) and workload identities.
ALTER EXTERNAL TABLEsupportedIceberg & external tablesModifies the properties, columns, or constraints for an existing external table.
ALTER EXTERNAL VOLUMEsupportedIceberg & external tablesModifies the properties for an existing external volume.
ALTER FAILOVER GROUPBusiness Critical+supportedReplication, failover & backupModifies the properties for an existing failover group.
ALTER FEATURE POLICYsupportedGovernance (policies, tags, data quality)Alters or renames a feature policy. Feature policies can be applied to all databases or a specific database, to all personal databases, or to all native apps…
ALTER FILE FORMATsupportedData loading & unloadingModifies the properties for an existing file format object. Currently the only actions that are supported are renaming the file format, changing the file…
ALTER FUNCTIONsupportedUDFs, procedures, tasks, alerts, scriptingModifies the properties of an existing user-defined or external function.
ALTER GATEWAYdeferredContainer services & dev toolingModifies the configuration of an existing gateway. Use this command to update the traffic split or shadow traffic configuration for a gateway.
ALTER GIT REPOSITORYpartialContainer services & dev toolingModifies the properties of a Snowflake Git repository clone.
ALTER HTTP RULEpreviewnot supportedOtherReplaces the specification of an existing HTTP rule.
ALTER ICEBERG TABLEpartialIceberg & external tablesModifies properties such as clustering options and tags for an existing Apache Iceberg™ table.
ALTER IMAGE REPOSITORYsupportedContainer services & dev toolingModifies the properties of an existing image repository.
ALTER INGRESS POLICYpreviewnot supportedIntegrations, network & secretsModifies the body or comment of an existing ingress policy.
ALTER INTEGRATIONsupportedIntegrations, network & secretsModifies the properties for an existing integration.
ALTER JOIN POLICYEnterprise+previewsupportedGovernance (policies, tags, data quality)Replaces the existing rules or comment for a join policy. Also allows you to rename a join policy.
ALTER LISTINGpartialNative apps, listings & sharingModifies the properties of a listings with an inline YAML manifest, or from a file located in a stage location.
ALTER MAINTENANCE POLICYsupportedGovernance (policies, tags, data quality)Modifies an existing maintenance policy.
ALTER MASKING POLICYEnterprise+supportedGovernance (policies, tags, data quality)Replaces the existing masking policy rules with new rules or a new comment and allows the renaming of a masking policy.
ALTER MATERIALIZED VIEWEnterprise+supportedTables, views, streams, sequencesAlters a materialized view in the current/specified schema. Supported actions include:
ALTER MODELpartialAI & MLModifies the properties for an existing model, including its name, tags, default version, or comment.
ALTER MODEL MONITORpartialAI & MLModifies the properties of a model monitor. See ML Observability for model version monitors and Gateway Monitoring & A/B Testing for gateway model monitors.
ALTER MULTI PARTY APPROVAL POLICYBusiness Critical+supportedGovernance (policies, tags, data quality)Modifies an existing Multi-party Approval policy by replacing its body with a new definition.
ALTER NETWORK POLICYsupportedIntegrations, network & secretsModifies the properties for an existing network policy.
ALTER NETWORK RULEsupportedIntegrations, network & secretsModifies an existing network rule.
ALTER NOTEBOOKsupportedContainer services & dev toolingModifies the properties of an existing notebook.
ALTER NOTIFICATION INTEGRATIONsupportedIntegrations, network & secretsModifies the properties for an existing notification integration.
ALTER ONLINE FEATURE TABLEsupportedAI & MLModifies the properties of an existing online feature table.
ALTER OPENFLOW CONNECTORpreviewnot supportedContainer services & dev toolingModifies connector configuration, metadata, or operational state.
ALTER OPENFLOW DATA PLANEnot supportedContainer services & dev toolingModifies an Openflow data plane integration.
ALTER OPENFLOW DEPLOYMENTnot supportedContainer services & dev toolingModifies or changes the state of a gen 2 deployment.
ALTER OPENFLOW RUNTIMEnot supportedContainer services & dev toolingModifies properties or changes the state of a gen 2 runtime.
ALTER ORGANIZATIONsupportedAccounts, users, sessions, warehousesModifies properties of a Snowflake organization, including the default tenant type for new accounts and the allowlist of email domains for internal accounts.
ALTER ORGANIZATION ACCOUNTEnterprise+supportedAccounts, users, sessions, warehousesModifies the properties of an existing organization account.
ALTER ORGANIZATION PROFILEpartialNative apps, listings & sharingModifies the properties of an organization profile using an inline YAML manifest, or using a YAML manifest file located in a stage location.
ALTER ORGANIZATION SET EVENT ROUTING TABLEsupportedAccounts, users, sessions, warehousesActivates the event routing table for all application listings in the specified organization.
ALTER ORGANIZATION UNSET EVENT ROUTING TABLEsupportedAccounts, users, sessions, warehousesDeactivates the event routing table for all application listings in the specified organization.
ALTER ORGANIZATION USEREnterprise+supportedAccounts, users, sessions, warehousesModifies the properties of an existing organization user.
ALTER ORGANIZATION USER GROUPEnterprise+supportedAccounts, users, sessions, warehousesModifies the properties of an existing organization user group.
ALTER PACKAGES POLICYsupportedGovernance (policies, tags, data quality)Modifies the properties for an existing packages policy.
ALTER PASSWORD POLICYsupportedGovernance (policies, tags, data quality)Modifies the properties for an existing password policy.
ALTER PIPEsupportedData loading & unloadingModifies a limited set of properties for an existing pipe object. Also supports the following operations:
ALTER POSTGRES INSTANCEpartialContainer services & dev toolingModifies the properties of an existing Snowflake Postgres instance.
ALTER PRIVACY POLICYEnterprise+supportedGovernance (policies, tags, data quality)Modifies the properties of an existing privacy policy.
ALTER PROCEDUREsupportedUDFs, procedures, tasks, alerts, scriptingModifies the properties for an existing stored procedure. If you need to make any changes not supported here, use DROP PROCEDURE instead and then recreate the…
ALTER PROJECTION POLICYEnterprise+supportedGovernance (policies, tags, data quality)Replaces the existing projection policy rules with new rules or a new comment and allows the renaming of a projection policy.
ALTER REPLICATION GROUPBusiness Critical+partialReplication, failover & backupModifies the properties for an existing replication group.
ALTER RESOURCE MONITORsupportedAccounts, users, sessions, warehousesModifies the properties and triggers for an existing resource monitor. Use this command to increase or decrease the credit quota, change the scheduling…
ALTER RESTRICTED SESSION SCOPEsupportedAccess control (grants, roles)Modifies the properties of an existing restricted session scope.
ALTER ROLEsupportedAccess control (grants, roles)Modifies the properties for an existing custom role. Currently, the only supported operations are renaming a role or adding/overwriting/removing a comment for…
ALTER ROW ACCESS POLICYEnterprise+supportedGovernance (policies, tags, data quality)Modifies the properties for an existing row access policy, including renaming the policy or replacing the policy rules.
ALTER SCHEMAsupportedDatabases & schemasModifies the properties for an existing schema, including renaming the schema or swapping it with another schema, and changing the Time Travel data retention…
ALTER SECRETsupportedIntegrations, network & secretsModifies the properties of an existing secret.
ALTER SECURITY INTEGRATIONpartialIntegrations, network & secretsModifies the properties for an existing security integration.
ALTER SEMANTIC VIEWsupportedAI & MLModifies properties, materializations, or other settings for an existing semantic view.
ALTER SEQUENCEsupportedTables, views, streams, sequencesModifies the properties for an existing sequence.
ALTER SERVICEpartialContainer services & dev toolingModifies Snowpark Container Services service configuration, upgrades the code for the service, and allows you to suspend or resume a service. You can:
ALTER SESSIONsupportedAccounts, users, sessions, warehousesSets parameters that change the behavior for the current session.
ALTER SESSION POLICYsupportedGovernance (policies, tags, data quality)Modifies the properties for an existing session policy.
ALTER SHAREpartialNative apps, listings & sharingModifies the properties for an existing share:
ALTER SNAPSHOTsupportedReplication, failover & backupNote
ALTER STAGEsupportedData loading & unloadingModifies the properties for an existing named internal or external stage.
ALTER STORAGE INTEGRATIONsupportedIntegrations, network & secretsModifies the properties for an existing storage integration.
ALTER STORAGE LIFECYCLE POLICYsupportedGovernance (policies, tags, data quality)Modifies the properties of an existing storage lifecycle policy.
ALTER STREAMsupportedTables, views, streams, sequencesModifies the properties, columns, or constraints for an existing stream.
ALTER STREAMLITpartialContainer services & dev toolingModifies the properties of an existing Streamlit object.
ALTER TABLEpartialTables, views, streams, sequencesModifies the properties, columns, or constraints for an existing table.
ALTER TAGsupportedGovernance (policies, tags, data quality)Modifies the properties for an existing tag, including renaming the tag and setting a masking policy on a tag.
ALTER TASKsupportedUDFs, procedures, tasks, alerts, scriptingModifies the properties for an existing task.
ALTER TASK GRAPHpreviewnot supportedUDFs, procedures, tasks, alerts, scriptingModifies the properties, member defaults, or lifecycle state of an existing Task Graph Object.
ALTER TYPEsupportedTables, views, streams, sequencesModifies the properties for an existing user-defined type.
ALTER USERpartialAccounts, users, sessions, warehousesModifies the properties and object/session parameters for an existing user in the system:
ALTER USER SET INGRESS POLICYpreviewnot supportedIntegrations, network & secretsAttaches an ingress policy to a user, or removes that attachment.
ALTER VARIABLEsupportedUDFs, procedures, tasks, alerts, scriptingModifies the properties of an existing schema variable.
ALTER VIEWpartialTables, views, streams, sequencesModifies the properties for an existing view. Currently the only supported operations are:
ALTER WAREHOUSEpartialAccounts, users, sessions, warehousesSuspends or resumes a virtual warehouse, or aborts all queries (and other SQL statements) for a warehouse. Can also be used to rename or set/unset the…
ALTER ZEROCOPY CONNECTORnot supportedIceberg & external tablesModifies the properties of an existing Zero-Copy connector. You can use this command to do the following:

BEGIN (1)

StatementSupportAreaDescription
BEGINsupportedQueries & DMLBegins a transaction in the current session.

CALL (1)

StatementSupportAreaDescription
CALLsupportedUDFs, procedures, tasks, alerts, scriptingCalls a stored procedure.

COMMENT (1)

StatementSupportAreaDescription
COMMENTsupportedDatabases & schemasAdds a comment or overwrites an existing comment for an existing object.

COMMIT (1)

StatementSupportAreaDescription
COMMITsupportedQueries & DMLCommits an open transaction in the current session.

COPY (3)

StatementSupportAreaDescription
COPY FILESsupportedData loading & unloadingCopy files from a source location to an output stage. You can either use a stage or a query as the source of the files to copy.
COPY INTO <LOCATION>partialData loading & unloadingUnloads data from a table (or query) into one or more files in one of the following locations:
COPY INTO <TABLE>partialData loading & unloadingLoads data from files to an existing table. The files must already be in one of the following locations:

CREATE (116)

StatementSupportAreaDescription
CREATE ACCOUNTpartialAccounts, users, sessions, warehousesCreates a new account in your organization.
CREATE AGENTsupportedAI & MLCreates a new Cortex Agent object with the specified attributes and specification.
CREATE AGGREGATION POLICYEnterprise+supportedGovernance (policies, tags, data quality)Creates a new aggregation policy in the current/specified schema or replaces an existing aggregation policy.
CREATE AI FUNCTIONnot supportedAI & MLCREATE AI FUNCTION lets you turn custom AI logic into a reusable, governed Snowflake function that can be used across applications, workflows, and SQL queries.…
CREATE ALERTsupportedUDFs, procedures, tasks, alerts, scriptingCreates a new alert in the current schema.
CREATE API INTEGRATIONpartialIntegrations, network & secretsCreates a new API integration object in the account or replaces an existing API integration.
CREATE APPLICATIONpartialNative apps, listings & sharingCreates a Snowflake Native App based on an application package or listing. Providers use this command to install an app in their development account.
CREATE APPLICATION PACKAGEpartialNative apps, listings & sharingCreates a new application package that contains the data content and application logic of Snowflake Native App. An application package contains the following…
CREATE APPLICATION ROLEsupportedNative apps, listings & sharingCreates a new application role or replaces an existing application role. Use application roles to enable access control security for objects within an…
CREATE APPLICATION SERVICEpartialNative apps, listings & sharingCreates a new Application Service that deploys a packaged application build from an artifact repository.
CREATE ARTIFACT REPOSITORYsupportedContainer services & dev toolingCreates a new artifact repository in the current or specified schema, or replaces an existing artifact repository. An artifact repository stores versioned…
CREATE AUTHENTICATION POLICYsupportedGovernance (policies, tags, data quality)Creates a new authentication policy in the current or specified schema or replaces an existing authentication policy. You can use authentication policies to…
CREATE BACKUP POLICYBusiness Critical+supportedReplication, failover & backupCreates a backup policy. You associate the policy with one or more backup sets. The settings in the policy define the schedule and expiration periods for each…
CREATE BACKUP SETBusiness Critical+partialReplication, failover & backupCreates a backup set for one of the following:
CREATE CATALOG INTEGRATIONsupportedIceberg & external tablesCreates a new catalog integration for Apache Iceberg™ tables in the account or replaces an existing catalog integration.
CREATE CODE BUNDLEsupportedContainer services & dev toolingNote
CREATE COMPUTE POOLsupportedContainer services & dev toolingCreates a new compute pool in the current account.
CREATE CONNECTIONBusiness Critical+supportedReplication, failover & backupCreates a new connection in the account.
CREATE CONTACTsupportedAccounts, users, sessions, warehousesCreates a new contact or replaces an existing contact.
CREATE CORTEX SEARCH SERVICEpartialAI & MLCreates a new Cortex Search service or replaces an existing one.
CREATE DATA METRIC FUNCTIONEnterprise+supportedGovernance (policies, tags, data quality)Creates a new data metric function (DMF) in the current or specified schema, or replaces an existing data metric function.
CREATE DATA MOVEMENT POLICYEnterprise+supportedGovernance (policies, tags, data quality)Creates a new data movement policy in the current/specified schema or replaces an existing data movement policy.
CREATE DATA MOVEMENT RULEEnterprise+supportedGovernance (policies, tags, data quality)Creates a new data movement rule in the current/specified schema or replaces an existing data movement rule.
CREATE DATABASEpartialDatabases & schemasCreates a new database in the system.
CREATE DATABASE ROLEsupportedAccess control (grants, roles)Create a new database role or replace an existing database role in the system.
CREATE DATASETpartialAI & MLCreates a new machine learning dataset in the current schema or the schema that you specify.
CREATE DBT PROJECTsupportedContainer services & dev toolingCreates a new dbt project object or replaces an existing dbt project object. This command deploys the project files to versions/live.
CREATE DCM PROJECTdeferredContainer services & dev toolingCreates a new DCM project or replaces an existing DCM project.
CREATE DYNAMIC TABLEpartialTables, views, streams, sequencesCreates a dynamic table, based on a specified query.
CREATE EVENT ROUTING TABLEsupportedAccounts, users, sessions, warehousesCreates a new event routing table in the current organization and region. The table is used to route events and other telemetry data to a centralized location,…
CREATE EVENT TABLEpartialTables, views, streams, sequencesCreates an event table that captures events, including logged messages from functions and procedures.
CREATE EXPERIMENTsupportedAI & MLCreates a new experiment or replaces an existing experiment.
CREATE EXTERNAL ACCESS INTEGRATIONpartialIntegrations, network & secretsCreates an external access integration for access to external network locations from a UDF or procedure handler.
CREATE EXTERNAL AGENTsupportedAI & MLCreates a new external agent object in the current or specified schema. External agents represent generative AI applications in Snowflake for use with AI…
CREATE EXTERNAL CONSUMERsupportedNative apps, listings & sharingCreates a new external consumer identity, or replaces an existing one, for use with Open Data Sharing. External consumers represent parties outside of…
CREATE EXTERNAL FUNCTIONsupportedUDFs, procedures, tasks, alerts, scriptingCreates a new external function.
CREATE EXTERNAL TABLEpartialIceberg & external tablesCreates a new external table in the current or specified schema or replaces an existing external table. When queried, an external table reads data from a set…
CREATE EXTERNAL VOLUMEsupportedIceberg & external tablesCreates a new external volume for Apache Iceberg™ tables in the account or replaces an existing external volume.
CREATE FAILOVER GROUPBusiness Critical+supportedReplication, failover & backupCreates a new failover group of specified objects in the system.
CREATE FEATURE POLICYsupportedGovernance (policies, tags, data quality)Creates a new feature policy. Feature policies can be applied to all databases or a specific database, to all personal databases, or to all native apps or a…
CREATE FILE FORMATsupportedData loading & unloadingCreates a named file format that describes a set of staged data to access or load into Snowflake tables.
CREATE FUNCTIONsupportedUDFs, procedures, tasks, alerts, scriptingCreates a new UDF (user-defined function). Depending on how you configure it, the function can return either scalar results or tabular results.
CREATE GATEWAYdeferredContainer services & dev toolingCreates a new gateway in the current schema. A gateway enables traffic splitting or shadow traffic across multiple service endpoints.
CREATE GIT REPOSITORYsupportedContainer services & dev toolingCreates a Snowflake Git repository clone in the schema or replaces an existing Git repository clone.
CREATE HTTP RULEpreviewnot supportedOtherCreates an HTTP rule or replaces an existing HTTP rule.
CREATE HYBRID TABLEsupportedTables, views, streams, sequencesCreates a new hybrid table in the current/specified schema or replaces an existing table. A table can have multiple columns, with each column definition…
CREATE ICEBERG TABLEpartialIceberg & external tablesCreates or replaces an Apache Iceberg™ table in the current/specified schema.
CREATE IMAGE REPOSITORYsupportedContainer services & dev toolingCreates a new image repository in the current schema.
CREATE INDEXsupportedTables, views, streams, sequencesCreates a new secondary index in an existing hybrid table and populates the index with data.
CREATE INGRESS POLICYpreviewnot supportedIntegrations, network & secretsCreates a new ingress policy in the current or specified schema, or replaces an existing ingress policy.
CREATE INTEGRATIONsupportedIntegrations, network & secretsCreates a new integration in the system or replaces an existing integration. An integration is a Snowflake object that provides an interface between Snowflake…
CREATE INTERACTIVE TABLEpartialTables, views, streams, sequencesCreates a new interactive table in the current/specified schema or replaces an existing table. Interactive tables are optimized for low-latency, interactive…
CREATE INTERACTIVE WAREHOUSEsupportedAccounts, users, sessions, warehousesCreates a new interactive virtual warehouse optimized for low-latency, high-concurrency workloads with interactive tables.
CREATE JOIN POLICYEnterprise+previewsupportedGovernance (policies, tags, data quality)Creates a new join policy in the current/specified schema or replaces an existing join policy.
CREATE LISTINGsupportedNative apps, listings & sharingCreate 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 POLICYsupportedGovernance (policies, tags, data quality)Creates a new maintenance policy in the current or specified schema.
CREATE MANAGED ACCOUNTsupportedNative apps, listings & sharingCreates a new managed account. Currently used by data providers to create reader accounts for their consumers. For more details, see Create and manage reader…
CREATE MASKING POLICYEnterprise+supportedGovernance (policies, tags, data quality)Creates a new masking policy in the current/specified schema or replaces an existing masking policy.
CREATE MATERIALIZED VIEWEnterprise+supportedTables, views, streams, sequencesCreates 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 SERVERsupportedAI & MLCreates a new MCP (Model Context Protocol) server or replaces an existing MCP server.
CREATE MODELsupportedAI & MLCreates a new machine learning model in the current/specified schema or replaces an existing model.
CREATE MODEL MONITORpartialAI & MLCreate or replace a model monitor in the current or specified schema. Snowflake currently supports two types of model monitors. See ML Observability for model…
CREATE MULTI PARTY APPROVAL POLICYBusiness Critical+partialGovernance (policies, tags, data quality)Creates a new Multi-party Approval policy in the current or specified schema, or replaces an existing Multi-party Approval policy. A Multi-party Approval…
CREATE NETWORK POLICYsupportedIntegrations, network & secretsCreates a network policy or replaces an existing network policy.
CREATE NETWORK RULEsupportedIntegrations, network & secretsCreates a network rule or replaces an existing network rule.
CREATE NOTEBOOKsupportedContainer services & dev toolingCreates a new Snowflake notebook or replaces an existing notebook.
CREATE NOTEBOOK PROJECTsupportedContainer services & dev toolingNote
CREATE NOTIFICATION INTEGRATIONsupportedIntegrations, network & secretsCreates a new notification integration in the account or replaces an existing integration. A notification integration is a Snowflake object that provides an…
CREATE ONLINE FEATURE TABLEsupportedAI & MLCreates a new online feature table in the current/specified schema or replaces an existing table.
CREATE OPENFLOW CONNECTORpreviewnot supportedContainer services & dev toolingCreates a connector in a gen 2 runtime.
CREATE OPENFLOW DEPLOYMENTnot supportedContainer services & dev toolingCreates a gen 2 Openflow deployment in the account.
CREATE OPENFLOW RUNTIMEnot supportedContainer services & dev toolingCreates a runtime in a gen 2 deployment.
CREATE OR ALTER <OBJECT>supportedDatabases & schemasCREATE 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…
CREATE OR ALTER VERSIONED SCHEMApreviewsupportedDatabases & schemasCreates a new versioned schema or modifies an existing versioned schema. This command is only supported for application instances in the Native Apps Framework.
CREATE ORGANIZATION ACCOUNTEnterprise+partialAccounts, users, sessions, warehousesCreates a new organization account.
CREATE ORGANIZATION LISTINGpartialNative apps, listings & sharingCreate an organization listing to share data products securely within your organization.
CREATE ORGANIZATION PROFILEsupportedNative apps, listings & sharingCreate the organization profile that forms part of the Uniform Listing Locator (ULL) used to publish organizational listings or query organizational listing…
CREATE ORGANIZATION USEREnterprise+supportedAccounts, users, sessions, warehousesCreates a new organization user.
CREATE ORGANIZATION USER GROUPEnterprise+supportedAccounts, users, sessions, warehousesCreates a new organization user group.
CREATE PACKAGES POLICYsupportedGovernance (policies, tags, data quality)Creates a new packages policy or replaces an existing packages policy.
CREATE PASSWORD POLICYsupportedGovernance (policies, tags, data quality)Creates a new password policy or replaces an existing password policy.
CREATE PIPEsupportedData loading & unloadingCreates 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…
CREATE POSTGRES INSTANCEpartialContainer services & dev toolingCreates a new Snowflake Postgres instance or creates a fork of an existing instance.
CREATE PRIVACY POLICYEnterprise+supportedGovernance (policies, tags, data quality)Creates a new privacy policy or replaces an existing privacy policy.
CREATE PROCEDUREsupportedUDFs, procedures, tasks, alerts, scriptingCreates a new stored procedure.
CREATE PROJECTION POLICYEnterprise+supportedGovernance (policies, tags, data quality)Creates a new projection policy in the current/specified schema or replaces an existing projection policy.
CREATE REPLICATION GROUPBusiness Critical+supportedReplication, failover & backupCreates a new replication group of specified objects in the system.
CREATE RESOURCE MONITORsupportedAccounts, users, sessions, warehousesCreates a new resource monitor. This command can only be executed by account administrators.
CREATE RESTRICTED SESSION SCOPEsupportedAccess control (grants, roles)Creates a new restricted session scope (RSS).
CREATE ROLEsupportedAccess control (grants, roles)Create a new role or replace an existing role in the system.
CREATE ROW ACCESS POLICYEnterprise+supportedGovernance (policies, tags, data quality)Creates a new row access policy in the current/specified schema or replaces an existing row access policy.
CREATE SCHEMAsupportedDatabases & schemasCreates a new schema in the current database.
CREATE SECRETpartialIntegrations, network & secretsCreates a new secret in the current or specified schema or replaces an existing secret.
CREATE SECURITY INTEGRATIONpartialIntegrations, network & secretsCreates a new security integration in the account or replaces an existing integration. An integration is a Snowflake object that provides an interface between…
CREATE SEMANTIC VIEWsupportedAI & MLCreates a new semantic view in the current/specified schema.
CREATE SEQUENCEsupportedTables, views, streams, sequencesCreates a new sequence, which can be used for generating sequential, unique numbers.
CREATE SERVICEpartialContainer services & dev toolingCreates a new Snowpark Container Services service in the current schema. If a service with that name already exists, use the DROP SERVICE command to delete the…
CREATE SESSION POLICYsupportedGovernance (policies, tags, data quality)Creates a new session policy or replaces an existing session policy.
CREATE SHAREsupportedNative apps, listings & sharingCreates a new, empty share. Once the share is created, you can include a database and objects from the database (schemas, tables, and views) in the share using…
CREATE SNAPSHOTsupportedReplication, failover & backupNote
CREATE STAGEsupportedData loading & unloadingCreates 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 INTEGRATIONsupportedIntegrations, network & secretsCreates a new storage integration in the account or replaces an existing integration.
CREATE STORAGE LIFECYCLE POLICYsupportedGovernance (policies, tags, data quality)Creates a new storage lifecycle policy in the current or specified schema, or replaces an existing policy. The policy runs an expression on arguments that you…
CREATE STREAMsupportedTables, views, streams, sequencesCreates a new stream in the current/specified schema or replaces an existing stream. A stream records data manipulation language (DML) changes made to a table,…
CREATE STREAMLITpartialContainer services & dev toolingCreates a new Streamlit object in Snowflake or replaces an existing Streamlit object in the same schema.
CREATE TABLEpartialTables, views, streams, sequencesCreates a new table in the current/specified schema, replaces an existing table, or alters an existing table. A table can have multiple columns, with each…
CREATE TAGsupportedGovernance (policies, tags, data quality)Creates a new tag or replaces an existing tag in the system.
CREATE TASKsupportedUDFs, procedures, tasks, alerts, scriptingCreates a new task in the current/specified schema or replaces an existing task.
CREATE TASK GRAPHpreviewnot supportedUDFs, procedures, tasks, alerts, scriptingCreates a Task Graph Object — a first-class database object that encapsulates a set of member tasks and their graph-wide settings.
CREATE TYPEsupportedTables, views, streams, sequencesCreates a user-defined type.
CREATE USERsupportedAccounts, users, sessions, warehousesCreates a new user or replaces an existing user in the system. For more details, see User management.
CREATE VARIABLEsupportedUDFs, procedures, tasks, alerts, scriptingCreates a new schema variable, a named, typed, persistent scalar value scoped to a schema.
CREATE VIEWsupportedTables, views, streams, sequencesCreates 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 WAREHOUSEsupportedAccounts, users, sessions, warehousesCreates a new virtual warehouse in the system.
CREATE ZEROCOPY CONNECTORnot supportedIceberg & external tablesCreates a new Zero-Copy connector in the current or specified schema, or replaces an existing connector. A Zero-Copy connector is a schema-level object that…
CREATE | ALTER TABLEsupportedTables, views, streams, sequencesThis topic describes how to create constraints by specifying a CONSTRAINT clause in a CREATE TABLE, CREATE HYBRID TABLE, or ALTER TABLE statement:

DELETE (1)

StatementSupportAreaDescription
DELETEsupportedQueries & DMLRemove rows from a table. You can use a WHERE clause to specify which rows should be removed. If you need to use a subquery(s) or additional table(s) to…

DESCRIBE (93)

StatementSupportAreaDescription
DESCRIBE AGENTpartialAI & MLDescribes the properties of a Cortex Agent.
DESCRIBE AGGREGATION POLICYEnterprise+supportedGovernance (policies, tags, data quality)Describes the details about an aggregation policy, including the creation date, name, and the SQL expression.
DESCRIBE ALERTsupportedUDFs, procedures, tasks, alerts, scriptingDescribes the properties of an alert.
DESCRIBE APPLICATIONsupportedNative apps, listings & sharingDisplays information about a Snowflake Native App.
DESCRIBE APPLICATION PACKAGEsupportedNative apps, listings & sharingDisplays information about an application package.
DESCRIBE APPLICATION SERVICEnot supportedNative apps, listings & sharingDescribes the properties of an Application Service, including the deployed package and version and lifecycle state.
DESCRIBE ARTIFACTnot supportedOtherDescribes a Snowflake Artifact without returning its content. DESCRIBE can be abbreviated to DESC.
DESCRIBE ARTIFACT REPOSITORYsupportedContainer services & dev toolingDescribes the properties of an artifact repository, including its type, owning role, and creation time.
DESCRIBE AUTHENTICATION POLICYsupportedGovernance (policies, tags, data quality)Describes the properties of an authentication policy.
DESCRIBE AVAILABLE LISTINGsupportedNative apps, listings & sharingDescribes the columns in the listings that are available to the user who runs the command. For more information on available listings, see Listing availability…
DESCRIBE AVAILABLE ORGANIZATION PROFILEsupportedNative apps, listings & sharingDescribes the active organization profile that can be associated with organizational listings.
DESCRIBE BACKUP POLICYBusiness Critical+supportedReplication, failover & backupDescribes a specific backup policy.
DESCRIBE BACKUP SETBusiness Critical+supportedReplication, failover & backupDescribes a specific backup set.
DESCRIBE CATALOG INTEGRATIONsupportedIceberg & external tablesDescribes the properties of a catalog integration.
DESCRIBE CODE BUNDLEsupportedContainer services & dev toolingDescribes the properties of a Code Bundle, including its versions and the source that backs it.
DESCRIBE COMMITTED TASKpreviewnot supportedUDFs, procedures, tasks, alerts, scriptingDescribes the committed definition of a task that belongs to a task graph: the definition that runs. DESCRIBE TASK shows the latest definition, including…
DESCRIBE COMPUTE POOLsupportedContainer services & dev toolingDescribes the properties of a compute pool.
DESCRIBE CONFIGURATIONsupportedNative apps, listings & sharingDescribes the properties of a configuration.
DESCRIBE CORTEX SEARCH SERVICEsupportedAI & MLDescribes the properties of a Cortex Search service.
DESCRIBE DATA MOVEMENT POLICYEnterprise+supportedGovernance (policies, tags, data quality)Describes a data movement policy: the rules in the policy’s ENFORCE_RULES and ALERT_RULES lists and the policy comment. To see the creation date, owner, and…
DESCRIBE DATA MOVEMENT RULEEnterprise+supportedGovernance (policies, tags, data quality)Describes the properties of a data movement rule, including the creation date, name, location, owner, movement type, and the SQL expression that defines the…
DESCRIBE DATABASEsupportedDatabases & schemasDescribes the database. For example, shows the schemas in the database.
DESCRIBE DBT PROJECTsupportedContainer services & dev toolingDescribes the properties of a dbt project object.
DESCRIBE DCM PROJECTdeferredContainer services & dev toolingDescribes the properties of a DCM project.
DESCRIBE DYNAMIC TABLEsupportedTables, views, streams, sequencesDescribes the columns in a dynamic table.
DESCRIBE EVENT TABLEsupportedTables, views, streams, sequencesDescribes the columns in an event table.
DESCRIBE EXTERNAL AGENTsupportedAI & MLDescribes the properties of an external agent. External agents represent generative AI applications in Snowflake for use with AI Observability.
DESCRIBE EXTERNAL CONSUMERsupportedNative apps, listings & sharingDescribes an external consumer, including its properties and current configuration.
DESCRIBE EXTERNAL TABLEsupportedIceberg & external tablesDescribes the VALUE column and virtual columns in an external table.
DESCRIBE EXTERNAL VOLUMEsupportedIceberg & external tablesDescribes the properties of an external volume.
DESCRIBE FEATURE POLICYsupportedGovernance (policies, tags, data quality)Describes the properties of a feature policy.
DESCRIBE FILE FORMATsupportedData loading & unloadingDescribes 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…
DESCRIBE FUNCTIONsupportedUDFs, procedures, tasks, alerts, scriptingDescribes the specified user-defined function (UDF) or external function, including the signature (i.e. arguments), return value, language, and body (i.e.…
DESCRIBE GATEWAYdeferredContainer services & dev toolingDescribes the properties of a gateway.
DESCRIBE GIT REPOSITORYsupportedContainer services & dev toolingDescribes an existing Snowflake Git repository clone.
DESCRIBE HTTP RULEpreviewnot supportedOtherDescribes the properties of an HTTP rule, including its specification.
DESCRIBE ICEBERG TABLEsupportedIceberg & external tablesDescribes 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 INGRESS POLICYpreviewnot supportedIntegrations, network & secretsDescribes the properties of an ingress policy.
DESCRIBE INTEGRATIONsupportedIntegrations, network & secretsDescribes the properties of an integration.
DESCRIBE JOIN POLICYEnterprise+previewsupportedGovernance (policies, tags, data quality)Describes the details about a join policy, including the creation date, name, and the SQL expression.
DESCRIBE LISTINGsupportedNative apps, listings & sharingDescribes the columns in a listing.
DESCRIBE MAINTENANCE POLICYsupportedGovernance (policies, tags, data quality)Shows the details of a maintenance policy.
DESCRIBE MASKING POLICYEnterprise+supportedGovernance (policies, tags, data quality)Describes the details about a masking policy, including the creation date, name, data type, and SQL expression.
DESCRIBE MATERIALIZED VIEWEnterprise+supportedTables, views, streams, sequencesDescribes the columns in a materialized view.
DESCRIBE MCP SERVERsupportedAI & MLDescribes the properties of an MCP (Model Context Protocol) server.
DESCRIBE MODEL MONITORsupportedAI & MLDisplays information about a specific model monitor. See ML Observability for model version monitors and Gateway Monitoring & A/B Testing for gateway model…
DESCRIBE MULTI PARTY APPROVAL POLICYBusiness Critical+supportedGovernance (policies, tags, data quality)Returns the definition of a Multi-party Approval policy.
DESCRIBE NETWORK POLICYsupportedIntegrations, network & secretsDescribes the properties specified for a network policy.
DESCRIBE NETWORK RULEsupportedIntegrations, network & secretsDescribes the properties specified for a network rule.
DESCRIBE NOTEBOOKsupportedContainer services & dev toolingDescribes the properties of a notebook.
DESCRIBE NOTIFICATION INTEGRATIONsupportedIntegrations, network & secretsDescribes the properties of a notification integration.
DESCRIBE ONLINE FEATURE TABLEsupportedAI & MLDescribes the columns in an online feature table.
DESCRIBE OPENFLOW CONNECTORpreviewnot supportedContainer services & dev toolingReturns properties for a single connector, including status, runtime, connector definition, and version state.
DESCRIBE OPENFLOW DATA PLANE INTEGRATIONnot supportedContainer services & dev toolingDescribes the columns in an Openflow data plane integration.
DESCRIBE OPENFLOW DEPLOYMENTnot supportedContainer services & dev toolingReturns properties for a single deployment.
DESCRIBE OPENFLOW RUNTIMEnot supportedContainer services & dev toolingReturns properties for a single runtime.
DESCRIBE ORGANIZATION PROFILEsupportedNative apps, listings & sharingDescribes the properties of an organization profile.
DESCRIBE PACKAGES POLICYsupportedGovernance (policies, tags, data quality)Describes the details about a packages policy.
DESCRIBE PASSWORD POLICYsupportedGovernance (policies, tags, data quality)Describes the details about a password policy.
DESCRIBE PIPEsupportedData loading & unloadingDescribes the properties specified for a pipe, as well as the default values of the properties.
DESCRIBE POSTGRES INSTANCEsupportedContainer services & dev toolingDescribes the properties of a Snowflake Postgres instance.
DESCRIBE PRIVACY POLICYEnterprise+supportedGovernance (policies, tags, data quality)Describes the properties of a privacy policy.
DESCRIBE PROCEDUREsupportedUDFs, procedures, tasks, alerts, scriptingDescribes the specified stored procedure, including the stored procedure’s signature (i.e. arguments), return value, language, and body (i.e. definition).
DESCRIBE PROJECTION POLICYEnterprise+supportedGovernance (policies, tags, data quality)Describes the details about a projection policy, including the creation date, name, and the SQL expression.
DESCRIBE RESTRICTED SESSION SCOPEsupportedAccess control (grants, roles)Describes the properties of a restricted session scope, including the YAML definition body.
DESCRIBE RESULTsupportedQueries & DMLDescribes the columns in the result of a query.
DESCRIBE ROW ACCESS POLICYEnterprise+supportedGovernance (policies, tags, data quality)Describes a row access policy, including the creation date, name, data type, and SQL expression.
DESCRIBE SCHEMAsupportedDatabases & schemasDescribes the schema. For example, lists the tables and views in the schema.
DESCRIBE SEARCH OPTIMIZATIONsupportedTables, views, streams, sequencesDescribes the search optimization configuration for a specified table and its columns.
DESCRIBE SECRETsupportedIntegrations, network & secretsDescribes the properties of a secret.
DESCRIBE SEMANTIC VIEWsupportedAI & MLDescribes the properties of the logical tables, dimensions, facts, and metrics that make up a semantic view.
DESCRIBE SEQUENCEsupportedTables, views, streams, sequencesDescribes a sequence, including the sequence’s interval.
DESCRIBE SERVICEsupportedContainer services & dev toolingDescribes the properties of a Snowpark Container Services service (including job services). Use this command for both a service and a service running like a…
DESCRIBE SESSION POLICYsupportedGovernance (policies, tags, data quality)Describes the details about a session policy.
DESCRIBE SHAREsupportedNative apps, listings & sharingDescribes the data objects that are included in a share.
DESCRIBE SNAPSHOTsupportedReplication, failover & backupNote
DESCRIBE SNAPSHOT POLICYBusiness Critical+supportedReplication, failover & backupDescribes a specific snapshot policy.
DESCRIBE SNAPSHOT SETBusiness Critical+supportedReplication, failover & backupDescribes a specific snapshot set.
DESCRIBE SPECIFICATIONsupportedNative apps, listings & sharingDescribes the details about an app specification.
DESCRIBE STAGEsupportedData loading & unloadingDescribes 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 POLICYsupportedGovernance (policies, tags, data quality)Describes the properties of a storage lifecycle policy, such as the expression that determines which rows to expire and the policy’s archive settings.
DESCRIBE STREAMsupportedTables, views, streams, sequencesDescribes the properties specified for a stream.
DESCRIBE STREAMLITsupportedContainer services & dev toolingDescribes the columns in a Streamlit object.
DESCRIBE TABLEsupportedTables, views, streams, sequencesDescribes either the columns in a table or the set of stage properties for the table (current values and default values).
DESCRIBE TASKsupportedUDFs, procedures, tasks, alerts, scriptingShows information about a task.
DESCRIBE TASK GRAPHpreviewnot supportedUDFs, procedures, tasks, alerts, scriptingDescribes a task graph, including its graph-wide properties and TASK_DEFAULTS.
DESCRIBE TRANSACTIONsupportedQueries & DMLDescribes the transaction, including the start time and the state (running, committed, rolled back).
DESCRIBE TYPEsupportedTables, views, streams, sequencesDescribes a user-defined type.
DESCRIBE USERsupportedAccounts, users, sessions, warehousesDescribes a user, including the current and default values of the properties of the user.
DESCRIBE VARIABLEsupportedUDFs, procedures, tasks, alerts, scriptingDescribes a schema variable, including its type, current value, default, and metadata.
DESCRIBE VIEWsupportedTables, views, streams, sequencesDescribes the columns in a view (or table).
DESCRIBE WAREHOUSEsupportedAccounts, users, sessions, warehousesDescribes a virtual warehouse. For example, shows the date that the warehouse was created.
DESCRIBE ZEROCOPY CONNECTORnot supportedIceberg & external tablesDescribes a Zero-Copy connector, including its state, partner configuration, and the catalog-linked databases and shares that are associated with it.

DROP (98)

StatementSupportAreaDescription
DROP ACCOUNTsupportedAccounts, users, sessions, warehousesDrops an account, which initiates the process of deleting the account.
DROP AGENTsupportedAI & MLRemoves the specified Cortex Agent with the specified name from the current or specified database and schema.
DROP AGGREGATION POLICYEnterprise+supportedGovernance (policies, tags, data quality)Removes an aggregation policy from the current/specified schema.
DROP ALERTsupportedUDFs, procedures, tasks, alerts, scriptingDrops an existing alert.
DROP APPLICATIONsupportedNative apps, listings & sharingRemoves an application from the system in the Native Apps Framework.
DROP APPLICATION PACKAGEsupportedNative apps, listings & sharingRemoves an application package from the system in the Native Apps Framework.
DROP APPLICATION ROLEsupportedNative apps, listings & sharingRemoves the specified application role from the system.
DROP APPLICATION SERVICEsupportedNative apps, listings & sharingRemoves the specified Application Service from the current or specified schema and stops its containers.
DROP ARTIFACTnot supportedOtherRemoves a Snowflake Artifact. Dropped artifacts can’t be restored with UNDROP.
DROP ARTIFACT REPOSITORYsupportedContainer services & dev toolingRemoves the specified artifact repository from the current or specified schema.
DROP AUTHENTICATION POLICYsupportedGovernance (policies, tags, data quality)Removes an authentication policy from the system.
DROP BACKUP POLICYBusiness Critical+supportedReplication, failover & backupDeletes a backup policy.
DROP BACKUP SETBusiness Critical+supportedReplication, failover & backupDeletes a backup set.
DROP CATALOG INTEGRATIONsupportedIceberg & external tablesRemoves a catalog integration from the account.
DROP CODE BUNDLEsupportedContainer services & dev toolingRemoves the specified Code Bundle from the current or specified schema, including all of its versions.
DROP COMPUTE POOLsupportedContainer services & dev toolingRemoves the specified compute pool from the account.
DROP CONNECTIONBusiness Critical+supportedReplication, failover & backupRemoves a connection from the account.
DROP CONTACTsupportedAccounts, users, sessions, warehousesRemoves the specified contact from the current schema.
DROP CORTEX SEARCH SERVICEsupportedAI & MLRemoves the specified Cortex Search service from the current schema.
DROP DATA MOVEMENT POLICYEnterprise+supportedGovernance (policies, tags, data quality)Removes a data movement policy from the current/specified schema.
DROP DATA MOVEMENT RULEEnterprise+supportedGovernance (policies, tags, data quality)Removes a data movement rule from the current/specified schema.
DROP DATABASEsupportedDatabases & schemasRemoves a database from the system.
DROP DATABASE ROLEsupportedAccess control (grants, roles)Removes the specified database role from the system.
DROP DBT PROJECTsupportedContainer services & dev toolingRemoves the specified dbt project object from the current or specified schema.
DROP DCM PROJECTdeferredContainer services & dev toolingRemoves the specified DCM project from the current/specified schema.
DROP DYNAMIC TABLEsupportedTables, views, streams, sequencesRemoves a dynamic table from the current/specified schema.
DROP EVENT ROUTING TABLEsupportedAccounts, users, sessions, warehousesDrops an event routing table. Routing tables are used to route events to a centralized location.
DROP EXPERIMENTsupportedAI & MLRemoves the specified experiment from the current/specified schema.
DROP EXTERNAL AGENTsupportedAI & MLRemoves the specified external agent from the current or specified schema.
DROP EXTERNAL CONSUMERsupportedNative apps, listings & sharingRemoves an external consumer from the account. You can’t drop an external consumer while any listing targets it.
DROP EXTERNAL TABLEsupportedIceberg & external tablesRemoves an external table from the current or specified schema. This is a metadata-only operation. None of the files that the external table refers to are…
DROP EXTERNAL VOLUMEsupportedIceberg & external tablesRemoves an external volume from the account, but retains a version of the external volume so that it can be recovered using UNDROP EXTERNAL VOLUME. For more…
DROP FAILOVER GROUPBusiness Critical+supportedReplication, failover & backupRemoves a failover group from the account.
DROP FEATURE POLICYsupportedGovernance (policies, tags, data quality)Removes the specified feature policy. For an overview, see Feature policies.
DROP FILE FORMATsupportedData loading & unloadingRemoves the specified file format from the current/specified schema.
DROP FUNCTIONsupportedUDFs, procedures, tasks, alerts, scriptingRemoves the specified user-defined function (UDF) or external function from the current/specified schema.
DROP GATEWAYdeferredContainer services & dev toolingRemoves the specified gateway from the current or specified schema.
DROP GIT REPOSITORYsupportedContainer services & dev toolingRemoves the specified Snowflake Git repository clone from the current/specified schema.
DROP HTTP RULEpreviewnot supportedOtherRemoves the specified HTTP rule from the system.
DROP ICEBERG TABLEsupportedIceberg & external tablesRemoves 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…
DROP IMAGE REPOSITORYsupportedContainer services & dev toolingRemoves the specified image repository from the current or specified schema.
DROP INDEXsupportedTables, views, streams, sequencesDrops a secondary index.
DROP INGRESS POLICYpreviewnot supportedIntegrations, network & secretsRemoves an ingress policy from the current or specified schema.
DROP INTEGRATIONsupportedIntegrations, network & secretsRemoves an integration from the account.
DROP JOIN POLICYEnterprise+previewsupportedGovernance (policies, tags, data quality)Removes a join policy from the current/specified schema.
DROP LISTINGsupportedNative apps, listings & sharingRemoves the specified listing from the system and immediately revokes access for all consumers.
DROP MAINTENANCE POLICYsupportedGovernance (policies, tags, data quality)Removes a maintenance policy from the current or specified schema. The command fails if the maintenance policy is applied to an app or account.
DROP MANAGED ACCOUNTsupportedNative apps, listings & sharingRemoves a managed account, including all objects created in the account, and immediately restricts access to the account. Currently used by data providers to…
DROP MASKING POLICYEnterprise+supportedGovernance (policies, tags, data quality)Removes a masking policy from the system.
DROP MATERIALIZED VIEWEnterprise+supportedTables, views, streams, sequencesRemoves the specified materialized view from the current/specified schema.
DROP MCP SERVERsupportedAI & MLRemoves the specified MCP (Model Context Protocol) server from the current/specified schema.
DROP MODELsupportedAI & MLRemoves a machine learning model from the current/specified schema.
DROP MODEL MONITORsupportedAI & MLRemoves the specified model monitor from the current or specified schema. See ML Observability for model version monitors and Gateway Monitoring & A/B Testing…
DROP MULTI PARTY APPROVAL POLICYBusiness Critical+supportedGovernance (policies, tags, data quality)Removes a Multi-party Approval policy from the system.
DROP NETWORK POLICYsupportedIntegrations, network & secretsRemoves the specified network policy from the system.
DROP NETWORK RULEsupportedIntegrations, network & secretsRemoves the specified network rule from the system.
DROP NOTEBOOKsupportedContainer services & dev toolingRemoves 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 TABLEsupportedAI & MLRemoves the specified online feature table from the current/specified schema.
DROP OPENFLOW CONNECTORpreviewnot supportedContainer services & dev tooling
DROP OPENFLOW DEPLOYMENTnot supportedContainer services & dev toolingRemoves the record for a terminated deployment.
DROP OPENFLOW RUNTIMEnot supportedContainer services & dev tooling
DROP ORGANIZATION PROFILEsupportedNative apps, listings & sharingRemoves an organization profile.
DROP ORGANIZATION USEREnterprise+supportedAccounts, users, sessions, warehousesRemoves an organization user from the organization.
DROP ORGANIZATION USER GROUPEnterprise+supportedAccounts, users, sessions, warehousesRemoves an organization user group from the organization.
DROP PACKAGES POLICYsupportedGovernance (policies, tags, data quality)Removes a packages policy from the system.
DROP PASSWORD POLICYsupportedGovernance (policies, tags, data quality)Removes a password policy from the system.
DROP PIPEsupportedData loading & unloadingRemoves the specified pipe from the current/specified schema.
DROP POSTGRES INSTANCEsupportedContainer services & dev toolingRemoves the specified Snowflake Postgres instance from the account.
DROP PRIVACY POLICYEnterprise+supportedGovernance (policies, tags, data quality)Removes the specified privacy policy from the current/specified schema.
DROP PROCEDUREsupportedUDFs, procedures, tasks, alerts, scriptingRemoves the specified stored procedure from the current/specified schema.
DROP PROJECTION POLICYEnterprise+supportedGovernance (policies, tags, data quality)Removes a projection policy from the current/specified schema.
DROP REPLICATION GROUPBusiness Critical+supportedReplication, failover & backupRemoves a replication group from the account.
DROP RESOURCE MONITORsupportedAccounts, users, sessions, warehousesRemoves the specified resource monitor from the system.
DROP RESTRICTED SESSION SCOPEsupportedAccess control (grants, roles)Removes the specified restricted session scope from the current/specified schema.
DROP ROLEsupportedAccess control (grants, roles)Removes the specified role from the system.
DROP ROW ACCESS POLICYEnterprise+supportedGovernance (policies, tags, data quality)Removes a row access policy from the system.
DROP SCHEMAsupportedDatabases & schemasRemoves a schema from the current/specified database.
DROP SECRETsupportedIntegrations, network & secretsRemoves a secret from the system.
DROP SEMANTIC VIEWsupportedAI & MLRemoves the specified semantic view from the current/specified schema.
DROP SEQUENCEsupportedTables, views, streams, sequencesRemoves a sequence from the current/specified schema.
DROP SERVICEsupportedContainer services & dev toolingRemoves the specified Snowpark Container Services service from the current or specified schema. The containers for the service are terminated.
DROP SESSION POLICYsupportedGovernance (policies, tags, data quality)Removes a session policy from the system.
DROP SHAREsupportedNative apps, listings & sharingRemoves 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 SNAPSHOTsupportedReplication, failover & backupNote
DROP STAGEsupportedData loading & unloadingRemoves the specified named internal or external stage from the current/specified schema. The status of the files in the stage depends on the stage type:
DROP STORAGE LIFECYCLE POLICYsupportedGovernance (policies, tags, data quality)Removes the specified storage lifecycle policy from the current or specified schema.
DROP STREAMsupportedTables, views, streams, sequencesRemoves a stream from the current/specified schema.
DROP STREAMLITsupportedContainer services & dev toolingRemoves the specified Streamlit object from the current/specified schema.
DROP TABLEsupportedTables, views, streams, sequencesRemoves 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. For information,…
DROP TAGsupportedGovernance (policies, tags, data quality)Removes a tag from the system.
DROP TASKsupportedUDFs, procedures, tasks, alerts, scriptingRemoves a task from the current/specified schema.
DROP TASK GRAPHpreviewnot supportedUDFs, procedures, tasks, alerts, scriptingDrops a Task Graph Object.
DROP TYPEsupportedTables, views, streams, sequencesRemoves a user-defined type.
DROP USERsupportedAccounts, users, sessions, warehousesRemoves the specified user from the system.
DROP VARIABLEsupportedUDFs, procedures, tasks, alerts, scriptingRemoves a schema variable from the schema.
DROP VIEWsupportedTables, views, streams, sequencesRemoves the specified view from the current/specified schema.
DROP WAREHOUSEsupportedAccounts, users, sessions, warehousesRemoves the specified virtual warehouse from the system.
DROP ZEROCOPY CONNECTORnot supportedIceberg & external tablesRemoves a Zero-Copy connector from the schema.

EXECUTE (13)

StatementSupportAreaDescription
EXECUTE ALERTsupportedUDFs, procedures, tasks, alerts, scriptingManually executes an alert independent of the schedule for the alert.
EXECUTE CODE BUNDLEpartialContainer services & dev toolingNote
EXECUTE DBT PROJECTsupportedContainer services & dev toolingExecutes the specified dbt project object or the dbt project in a Snowflake workspace using the dbt command and command-line options specified.
EXECUTE DCMpreviewnot supportedContainer services & dev toolingPlans or deploys DCM definitions that you write inline, without a DCM Project object. This form is called inline DCM. For when to use inline DCM, how it…
EXECUTE DCM PROJECTdeferredContainer services & dev toolingExecutes one of the following actions on a DCM project:
EXECUTE IMMEDIATEsupportedUDFs, procedures, tasks, alerts, scriptingExecutes a string that contains a SQL statement or a Snowflake Scripting statement.
EXECUTE IMMEDIATE FROMsupportedUDFs, procedures, tasks, alerts, scriptingEXECUTE IMMEDIATE FROM executes the SQL statements specified in a file in a stage. The file can contain SQL statements or Snowflake Scripting blocks. The…
EXECUTE INFERENCE JOB SERVICEnot supportedAI & MLNote
EXECUTE JOB SERVICEsupportedContainer services & dev toolingNote
EXECUTE NOTEBOOKsupportedContainer services & dev toolingExecutes the notebook outside the Notebook Editor. For example, you can run EXECUTE NOTEBOOK by itself from a worksheet, nest it within another Snowflake…
EXECUTE NOTEBOOK PROJECTsupportedContainer services & dev toolingNote
EXECUTE TASKsupportedUDFs, procedures, tasks, alerts, scriptingManually triggers a 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.
EXECUTE TASK GRAPHpreviewnot supportedUDFs, procedures, tasks, alerts, scriptingTriggers one immediate run of a Task Graph Object’s committed version, regardless of its schedule.

EXPERIMENT (1)

StatementSupportAreaDescription
EXPERIMENTsupportedAI & MLAn experiment is a schema-level Snowflake object that packages an AI workload — either an evaluation or an optimization — and records its results as a set of…

EXPLAIN (1)

StatementSupportAreaDescription
EXPLAINsupportedQueries & DMLReturns the logical execution plan for the specified SQL statement.

GET (1)

StatementSupportAreaDescription
GETsupportedData loading & unloadingDownloads data files from one of the following internal stage types to a local directory or folder on a client machine:

GRANT (10)

StatementSupportAreaDescription
GRANT <PRIVILEGE>not supportedAccess control (grants, roles)Grants access privileges for databases and other supported database objects (schemas, UDFs, tables, views, and models) to a share. Granting privileges on these…
GRANT <PRIVILEGES>partialAccess control (grants, roles)Grants one or more access privileges on a securable object to a role or database role. The privileges that can be granted are object-specific.
GRANT AND REVOKE PRIVILEGES ON AN ARTIFACTnot supportedAccess control (grants, roles)Use GRANT and REVOKE to manage READ and WRITE on an individual Snowflake Artifact. These statements don’t grant access to the source file or underlying data.…
GRANT APPLICATION ROLEsupportedAccess control (grants, roles)Assigns an application role to an account role, another application role, an application, or a user.
GRANT CALLERsupportedAccess control (grants, roles)Grants caller grants to a role. If an executable owned by the role runs with restricted caller’s rights, it can only run with the caller’s privileges specified…
GRANT DATABASE ROLEsupportedAccess control (grants, roles)Assigns a database role to an account role, another database role, or a user. A user with OWNERSHIP privilege on a database role can grant that database role…
GRANT OWNERSHIPsupportedAccess control (grants, roles)Transfers ownership of an object or all objects of a specified type in a schema from one role to another role. Role refers to either a role or a database role.
GRANT OWNERSHIP ON ARTIFACTpartialAccess control (grants, roles)Transfers ownership of a Snowflake Artifact. An artifact always has an owner; REVOKE OWNERSHIP ON ARTIFACT isn’t supported.
GRANT ROLEpartialAccess control (grants, roles)Assigns a role to a user or another role:
GRANT SERVICE ROLEpartialAccess control (grants, roles)Assigns a service role to an account role, application role, or database role. For more information, see Managing service-related privileges.

INSERT (1)

StatementSupportAreaDescription
INSERTsupportedQueries & DMLUpdates a table by inserting one or more rows into the table. The values inserted into each column in the table can be explicitly-specified or the results of a…

LIST (1)

StatementSupportAreaDescription
LISTsupportedData loading & unloadingReturns a list of files from one of the following Snowflake storage features:

MERGE (1)

StatementSupportAreaDescription
MERGEsupportedQueries & DMLInserts, updates, and deletes values in a table that are based on values in a second table or a subquery. Merging can be useful if the second table is a change…

PUT (1)

StatementSupportAreaDescription
PUTpartialData loading & unloadingUploads one or more data files from a local file system onto an internal stage.

REMOVE (1)

StatementSupportAreaDescription
REMOVEsupportedData loading & unloadingRemoves files from either an external (external cloud storage) or internal (i.e. Snowflake) stage.

REVOKE (7)

StatementSupportAreaDescription
REVOKE <PRIVILEGE>not supportedAccess control (grants, roles)Revokes access privileges for databases and other supported database objects (schemas, tables, views, and models) from a share. Revoking privileges on these…
REVOKE <PRIVILEGES>partialAccess control (grants, roles)Removes one or more privileges on a securable object from a role or database role. The privileges that can be revoked are object-specific.
REVOKE APPLICATION ROLEpreviewsupportedAccess control (grants, roles)Revokes an application role from an account role, another application role, an application, or a user.
REVOKE CALLERsupportedAccess control (grants, roles)Revokes privileges that were previously granted to an executable owner using a caller grant.
REVOKE DATABASE ROLEsupportedAccess control (grants, roles)Revokes a database role from an account role or another database role.
REVOKE ROLEsupportedAccess control (grants, roles)Removes a role from another role or a user.
REVOKE SERVICE ROLEpartialAccess control (grants, roles)Revokes a service role from an account role, application role, or database role. For more information, see Managing service-related privileges.

ROLLBACK (1)

StatementSupportAreaDescription
ROLLBACKsupportedQueries & DMLRolls back an open transaction in the current session.

SELECT (1)

StatementSupportAreaDescription
SELECTsupportedQueries & DMLSELECT can be used as either a statement or as a clause within other statements:

SET (1)

StatementSupportAreaDescription
SETsupportedAccounts, users, sessions, warehousesInitializes the value of a session variable to the result of a SQL expression.

SHOW (188)

StatementSupportAreaDescription
SHOW ACCOUNTSsupportedAccounts, users, sessions, warehousesLists all the accounts in your organization, excluding managed accounts.
SHOW AGENTSsupportedAI & MLLists the Cortex Agents for which you have access privileges.
SHOW AGGREGATION POLICIESEnterprise+supportedGovernance (policies, tags, data quality)Lists information about existing aggregation policies, including the creation date, database and schema names, owner, and any available comments.
SHOW ALERTSsupportedUDFs, procedures, tasks, alerts, scriptingLists the alerts for which you have access privileges.
SHOW APPLICATION PACKAGESsupportedNative apps, listings & sharingLists the application packages for which you have access privileges across your entire account in the Native Apps Framework.
SHOW APPLICATION ROLESsupportedNative apps, listings & sharingLists the application roles in the specified app for which you have access privileges.
SHOW APPLICATION SERVICESsupportedNative apps, listings & sharingLists the Application Services for which you have access privileges.
SHOW APPLICATIONSsupportedNative apps, listings & sharingLists the Snowflake Native Apps that you have access privileges for across your entire account.
SHOW ARTIFACT REPOSITORIESsupportedContainer services & dev toolingLists the artifact repositories for which you have access privileges.
SHOW ARTIFACTSnot supportedOtherLists Snowflake Artifacts that the executing roles can inspect. It returns metadata, not artifact content, and does not require a running warehouse.
SHOW AUTHENTICATION POLICIESsupportedGovernance (policies, tags, data quality)Lists authentication policy information, including the creation date, database and schema names, owner, and any available comments.
SHOW AVAILABLE LISTINGSsupportedNative apps, listings & sharingLists the listings that are available to the user who runs the command. For more information, see Listing availability options.
SHOW AVAILABLE OFFERSpreviewnot supportedNative apps, listings & sharingLists the offers that are available to the user who runs the command.
SHOW AVAILABLE ORGANIZATION PROFILESsupportedNative apps, listings & sharingLists the organization profiles available in the user’s organization.
SHOW BACKUP POLICIESBusiness Critical+supportedReplication, failover & backupLists all the backup policies in your account for which you have access privileges.
SHOW BACKUP SETSBusiness Critical+supportedReplication, failover & backupLists all the backup sets for which you have access privileges. The scope of this command can be your entire account, or a specified database or schema.
SHOW BACKUPS IN BACKUP SETBusiness Critical+supportedReplication, failover & backupLists all the backups in a backup set.
SHOW CALLER GRANTSsupportedAccess control (grants, roles)Lists the caller grants being used to implement restricted caller’s rights.
SHOW CATALOG INTEGRATIONSsupportedIceberg & external tablesLists the catalog integrations in your account. The output returns integration metadata and properties.
SHOW CHANNELSsupportedData loading & unloadingLists the Snowpipe Streaming channels for which you have access privileges. This command can be used to list the channels for a specified table, database or…
SHOW CLASSESsupportedAI & MLLists all available classes.
SHOW CODE BUNDLESsupportedContainer services & dev toolingNote
SHOW COLUMNSsupportedTables, views, streams, sequencesLists the columns in the tables or views and the dimensions, facts, and metrics in the semantic views for which you have access privileges. This command can be…
SHOW COMMITTED TASKSpreviewnot supportedUDFs, procedures, tasks, alerts, scriptingLists the tasks in the committed version of one or more task graphs: the definitions that run. SHOW TASKS shows the latest definitions, including changes that…
SHOW COMPUTE POOL INSTANCE FAMILIESsupportedContainer services & dev toolingLists the available compute pool instance families that you can use to create a compute pool in the region of your current account.
SHOW COMPUTE POOLSsupportedContainer services & dev toolingLists the compute pools in your account for which you have access privileges.
SHOW CONFIGURATIONSsupportedNative apps, listings & sharingLists the configurations in the specified app for which you have access privileges.
SHOW CONNECTIONSBusiness Critical+supportedReplication, failover & backupLists the connections for which you have access privileges.
SHOW CONTACTSpartialAccounts, users, sessions, warehousesLists the contacts for which you have access privileges.
SHOW CORTEX BASE MODELSdeferredAI & MLLists the Cortex Base Models available to your current role, along with their lifecycle status, in-region and cross-region availability, legacy date, and…
SHOW CORTEX SEARCH SERVICESsupportedAI & MLLists the Cortex Search services for which you have access privileges.
SHOW DATA METRIC FUNCTIONSEnterprise+supportedGovernance (policies, tags, data quality)Lists the data metric functions (DMFs) for which you have access privileges.
SHOW DATA MOVEMENT POLICIESEnterprise+partialGovernance (policies, tags, data quality)Lists the data movement policies for which you have access privileges. The command returns the creation date, database and schema names, kind, owner, and any…
SHOW DATA MOVEMENT RULESEnterprise+partialGovernance (policies, tags, data quality)Lists the data movement rules for which you have access privileges. The command returns the creation date, database and schema names, movement type, owner, and…
SHOW DATABASE ROLESsupportedAccess control (grants, roles)Lists all the database roles in the specified database.
SHOW DATABASESsupportedDatabases & schemasLists the databases for which you have access privileges across your entire account, including dropped databases that are still within the Time Travel…
SHOW DATABASES IN FAILOVER GROUPBusiness Critical+supportedReplication, failover & backupLists databases in a failover group.
SHOW DATABASES IN REPLICATION GROUPsupportedReplication, failover & backupLists databases in a replication group.
SHOW DATASETSsupportedAI & MLDisplays information about the datasets in your account. You can show all datasets or use the IN subcommand to only display results at the schema or database…
SHOW DBT PROJECTSsupportedContainer services & dev toolingLists the dbt project objects for which you have access privileges.
SHOW DCM PROJECTSdeferredContainer services & dev toolingLists the DCM projects for which you have at least READ privilege.
SHOW DELEGATED AUTHORIZATIONSdeferredAccess control (grants, roles)Lists the active delegated authorizations for which you have access privileges. With no variant, the command lists only the current user’s delegated…
SHOW DEPLOYMENTS IN DCM PROJECTdeferredContainer services & dev toolingShows all deployments for the specified DCM project.
SHOW DYNAMIC TABLESsupportedTables, views, streams, sequencesLists the dynamic tables for which you have access privileges. The command can be used to list dynamic tables for the current/specified database or schema, or…
SHOW ENDPOINTSsupportedContainer services & dev toolingNote
SHOW ENTITIES IN DCM PROJECTdeferredContainer services & dev toolingShows all Snowflake objects that are currently managed by a specified DCM project.
SHOW EVENT ROUTING TABLE ON ORGANIZATIONsupportedAccounts, users, sessions, warehousesReturns the event routing table activated for the specified organization. Event routing tables are used to route events to a centralized location.
SHOW EVENT ROUTING TABLESsupportedAccounts, users, sessions, warehousesReturns the list of event routing tables. Event routing tables are used to route events to a centralized location.
SHOW EVENT TABLESsupportedTables, views, streams, sequencesLists the event tables for which you have access privileges, including dropped tables that are still within the Time Travel retention period and, therefore,…
SHOW EXPERIMENTSsupportedAI & MLLists the experiments for which you have access privileges.
SHOW EXTERNAL AGENTSsupportedAI & MLLists the external agents for which you have access privileges. External agents represent generative AI applications in Snowflake for use with AI Observability.
SHOW EXTERNAL CONSUMERSsupportedNative apps, listings & sharingLists the external consumers defined in the account.
SHOW EXTERNAL FUNCTIONSsupportedUDFs, procedures, tasks, alerts, scriptingLists all the external functions created for your account.
SHOW EXTERNAL TABLESsupportedIceberg & external tablesLists the external tables for which you have access privileges. The command can be used to list external tables for the current or specified database or…
SHOW EXTERNAL VOLUMESsupportedIceberg & external tablesLists the external volumes in your account for which you have access privileges.
SHOW FAILOVER GROUPSBusiness Critical+supportedReplication, failover & backupLists 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 POLICIESsupportedGovernance (policies, tags, data quality)Lists the feature policies for which you have access privileges.
SHOW FILE FORMATSsupportedData loading & unloadingLists the file formats for which you have access privileges. This command can be used to list the file formats for a specified database or schema (or the…
SHOW FILES IN ARTIFACT REPOSITORYsupportedContainer services & dev toolingNote
SHOW FUNCTIONSsupportedUDFs, procedures, tasks, alerts, scriptingLists all functions that you have privileges to access, including built-in, user-defined, and external functions.
SHOW FUNCTIONS IN MODELsupportedAI & MLLists functions defined in machine learning models.
SHOW GATEWAYSdeferredContainer services & dev toolingLists the gateway for which you have access privileges.
SHOW GIT BRANCHESsupportedContainer services & dev toolingLists the branches in the specified Snowflake Git repository clone.
SHOW GIT REPOSITORIESsupportedContainer services & dev toolingLists the Git repository clones that you have privileges to access.
SHOW GIT TAGSsupportedContainer services & dev toolingLists the tags in the specified Snowflake Git repository clone.
SHOW GLOBAL ACCOUNTSdeprecatedsupportedAccounts, users, sessions, warehousesLists all the accounts in your organization that are enabled for replication and indicates the Snowflake Region in which each account is located.
SHOW GRANTSsupportedAccess control (grants, roles)Lists all access control privileges that have been explicitly granted to roles, users, and shares.
SHOW GRANTS IN DCM PROJECTdeferredContainer services & dev toolingSHOW GRANTS IN DCM PROJECT lists all grants deployed and managed by the specified DCM project.
SHOW HTTP RULESpreviewnot supportedOtherLists the HTTP rules that you have privileges on.
SHOW HYBRID TABLESsupportedTables, views, streams, sequencesLists the hybrid tables for which you have access privileges.
SHOW ICEBERG TABLESsupportedIceberg & external tablesLists the Apache Iceberg™ tables for which you have access privileges.
SHOW IMAGE REPOSITORIESsupportedContainer services & dev toolingLists the image repositories for which you have access privileges.
SHOW IMAGES IN IMAGE REPOSITORYsupportedContainer services & dev toolingLists the images in an image repository.
SHOW INDEXESsupportedTables, views, streams, sequencesLists all the indexes in your account for which you have access privileges.
SHOW INGRESS POLICIESpreviewnot supportedIntegrations, network & secretsLists ingress policies that you can see, including the creation date, database and schema names, owner, and comment.
SHOW INTEGRATIONSpartialIntegrations, network & secretsLists the integrations in your account.
SHOW INTERACTIVE TABLESsupportedTables, views, streams, sequencesLists the interactive tables for which you have access privileges. The command can be used to list interactive tables for the current/specified database or…
SHOW JOIN POLICIESEnterprise+previewsupportedGovernance (policies, tags, data quality)Lists information about existing join policies, including the creation date, database and schema names, owner, and any available comments.
SHOW LISTINGSpartialNative apps, listings & sharingLists the listings that you have privileges to access. Shows only listings where the user running the command has any of USAGE, MODIFY, or OWNERSHIP against…
SHOW LISTINGS IN FAILOVER GROUPBusiness Critical+supportedReplication, failover & backupShows the listings in a failover group.
SHOW LOCKSsupportedQueries & DMLLists all running transactions that have locks on resources. The command can be used to show locks for the current user in all the user’s sessions or all users…
SHOW MAINTENANCE POLICIESsupportedGovernance (policies, tags, data quality)Lists the maintenance policies applied to the specified account or app.
SHOW MANAGED ACCOUNTSsupportedNative apps, listings & sharingLists the managed accounts created for your account. Currently used by data providers to create reader accounts for their consumers. For more details, see…
SHOW MASKING POLICIESEnterprise+supportedGovernance (policies, tags, data quality)Lists masking policy information, including the creation date, database and schema names, owner, and any available comments.
SHOW MATERIALIZED VIEWSEnterprise+supportedTables, views, streams, sequencesLists the materialized views that you have privileges to access.
SHOW MCP SERVERSsupportedAI & MLLists the MCP (Model Context Protocol) servers for which you have access privileges.
SHOW MFA METHODSdeferredAccounts, users, sessions, warehousesLists the second factors of authentication that a user enrolled in multi-factor authentication uses to sign in to Snowflake.
SHOW MODEL MONITORSsupportedAI & MLLists all model monitors that you can access in the current or specified schema and displays information about each one. See ML Observability for model version…
SHOW MODELSsupportedAI & MLLists the machine learning models that you have privileges to access.
SHOW MULTI PARTY APPROVAL POLICIESBusiness Critical+supportedGovernance (policies, tags, data quality)Lists the Multi-party Approval policies in your account, including the creation date, database and schema names, owner, and any available comments.
SHOW NETWORK POLICIESsupportedIntegrations, network & secretsLists all network policies defined in the system.
SHOW NETWORK RULESsupportedIntegrations, network & secretsLists all network rules defined in the system.
SHOW NODES IN COMPUTE POOLpartialContainer services & dev toolingLists the nodes currently provisioned in a specified compute pool, including the instance family backing each node. Use this command to see which primary or…
SHOW NOTEBOOK PROJECTSsupportedContainer services & dev toolingNote
SHOW NOTEBOOKSsupportedContainer services & dev toolingLists the notebooks for which you have access privileges.
SHOW NOTIFICATION INTEGRATIONSsupportedIntegrations, network & secretsLists the notification integrations in your account.
SHOW OBJECTSsupportedTables, views, streams, sequencesLists the tables and views for which you have access privileges. This command can be used to list the tables and views for a specified database or schema (or…
SHOW OBJECTS OWNED BY APPLICATIONpreviewsupportedNative apps, listings & sharingLists the objects owned by an app that exists outside the app.
SHOW OFFERSpreviewnot supportedNative apps, listings & sharingProvides information about all offers added to a listing.
SHOW ONLINE FEATURE TABLESsupportedAI & MLLists the online feature tables for which you have access privileges.
SHOW OPENFLOW CONNECTOR DEFINITIONSpreviewnot supportedContainer services & dev toolingLists gen 2 connector definition IDs available in the account—the values used in FROM DEFINITION when you CREATE OPENFLOW CONNECTOR. Each gen 2 entry in the…
SHOW OPENFLOW CONNECTORSpreviewnot supportedContainer services & dev toolingLists gen 2 connectors for which you have access privileges. The command can list connectors for the current or specified database or schema, or across your…
SHOW OPENFLOW DATA PLANE INTEGRATIONSnot supportedContainer services & dev toolingList OPENFLOW DATA PLANE INTEGRATIONS. Shows only OPENFLOW DATA PLANE INTEGRATIONS where the user running the command has any of USAGE, MODIFY, or OWNERSHIP…
SHOW OPENFLOW DEPLOYMENTSnot supportedContainer services & dev toolingLists gen 2 deployments visible to the current user.
SHOW OPENFLOW RUNTIMESnot supportedContainer services & dev toolingLists gen 2 runtimes for which you have access privileges. The command can list runtimes for the current or specified database or schema, or across your…
SHOW ORGANIZATION ACCOUNTSEnterprise+partialAccounts, users, sessions, warehousesLists the organization account of the organization.
SHOW ORGANIZATION CONTRACTSsupportedAccounts, users, sessions, warehousesLists all active contracts currently mapped to the Snowflake accounts within the customer’s organization.
SHOW ORGANIZATION PROFILESsupportedNative apps, listings & sharingLists the organization profiles for which you have access privileges.
SHOW ORGANIZATION USER GROUPSsupportedAccounts, users, sessions, warehousesLists organization user groups.
SHOW ORGANIZATION USERSsupportedAccounts, users, sessions, warehousesLists organization users. Administrators in the organization account can use this command to list all organization users in the organization. Administrators in…
SHOW PACKAGES IN ARTIFACT REPOSITORYpartialContainer services & dev toolingNote
SHOW PACKAGES POLICIESsupportedGovernance (policies, tags, data quality)Lists packages policy information.
SHOW PARAMETERSsupportedAccounts, users, sessions, warehousesLists all the account, session, and object parameters that can be set, as well as the current and default values for each parameter:
SHOW PASSWORD POLICIESsupportedGovernance (policies, tags, data quality)Lists password policy information, including the creation date, database and schema names, owner, and any available comments.
SHOW PIPESsupportedData loading & unloadingLists the pipes for which you have access privileges. This command can be used to list the pipes for a specified database or schema (or the current…
SHOW POSTGRES INSTANCESsupportedContainer services & dev toolingLists the Snowflake Postgres instances for which you have access privileges.
SHOW PRICING PLANSpreviewnot supportedNative apps, listings & sharingLists visible and hidden pricing plans.
SHOW PRIMARY KEYSsupportedTables, views, streams, sequencesLists primary keys for one or more tables. You can specify the following options:
SHOW PRIVACY POLICIESEnterprise+supportedGovernance (policies, tags, data quality)Lists the privacy policies for which you have access privileges.
SHOW PRIVILEGESpreviewsupportedNative apps, listings & sharingLists the privileges granted to an application.
SHOW PROCEDURESsupportedUDFs, procedures, tasks, alerts, scriptingLists all stored procedures that you have privileges to access, including built-in and user-defined procedures.
SHOW PROJECTION POLICIESEnterprise+supportedGovernance (policies, tags, data quality)Lists projection policy information, including the creation date, database and schema names, owner, and any available comments.
SHOW REFERENCESpreviewsupportedNative apps, listings & sharingLists the references defined for an application in the manifest file and the references the consumer has associated to the application.
SHOW REGIONSpartialAccounts, users, sessions, warehousesLists all the regions in which accounts can be created. This command returns the Snowflake Region name, the cloud provider (AWS, Google Cloud Platform, or…
SHOW RELEASE CHANNELSsupportedNative apps, listings & sharingLists the release channels for an application package or listing.
SHOW RELEASE DIRECTIVESsupportedNative apps, listings & sharingLists the release directives defined for an application package.
SHOW REPLICATION ACCOUNTSsupportedReplication, failover & backupLists all the accounts in your organization that are enabled for replication and indicates the region in which each account is located.
SHOW REPLICATION DATABASESsupportedReplication, failover & backupLists 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…
SHOW REPLICATION GROUPSBusiness Critical+supportedReplication, failover & backupDisplays information about replication groups and failover groups.
SHOW RESOURCE MONITORSsupportedAccounts, users, sessions, warehousesLists all the resource monitors in your account for which you have access privileges.
SHOW RESTRICTED SESSION SCOPESsupportedAccess control (grants, roles)Lists restricted session scope objects for which you have access privileges, including the creation date, database and schema names, owner, and any available…
SHOW ROLESsupportedAccess control (grants, roles)Lists 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 SERVICEsupportedContainer services & dev toolingLists all the service roles associated with a service. These are the roles defined in the service specification. For more information, see Managing…
SHOW ROW ACCESS POLICIESEnterprise+supportedGovernance (policies, tags, data quality)Lists the row access policies for which you have access privileges. Returns information that includes the creation date, database and schema names, owner, and…
SHOW RULES IN EVENT ROUTING TABLEsupportedAccounts, users, sessions, warehousesReturns the list of rules for the specified event routing table. Event routing table rules are used to specify where to route events.
SHOW RUNpartialAI & MLDisplays logged parameters or metrics for experiment runs.
SHOW RUNS IN EXPERIMENTsupportedAI & MLLists the runs in an experiment.
SHOW SCHEMA VARIABLES IN SCHEMAsupportedUDFs, procedures, tasks, alerts, scriptingLists all schema variables in the specified schema for which you have access privileges.
SHOW SCHEMASsupportedDatabases & 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…
SHOW SECRETSsupportedIntegrations, network & secretsLists the secrets for which you have rights to see. This command can be used to list the secrets for a specified database or schema (or the current…
SHOW SEMANTIC DIMENSIONSsupportedAI & MLLists the dimensions in the semantic views for which you have access privileges.
SHOW SEMANTIC DIMENSIONS FOR METRICsupportedAI & MLLists the dimensions that you can return when querying a specific metric in a semantic view.
SHOW SEMANTIC FACTSsupportedAI & MLLists the facts in the semantic views for which you have access privileges.
SHOW SEMANTIC METRICSsupportedAI & MLLists the metrics in the semantic views for which you have access privileges.
SHOW SEMANTIC VIEWSsupportedAI & MLLists the semantic views for which you have access privileges. You can list views for the current or specified schema.
SHOW SEQUENCESsupportedTables, views, streams, sequencesLists all the sequences for which you have access privileges. This command can be used to list the sequences for a specified schema or database (or the current…
SHOW SERVICE CONTAINERS IN SERVICEsupportedContainer services & dev toolingLists the containers in all instances of a service.
SHOW SERVICE INSTANCES IN SERVICEsupportedContainer services & dev toolingLists instances of a service.
SHOW SERVICE VOLUMES IN SERVICEsupportedContainer services & dev toolingLists the storage volumes for all instances of a service. For each mounted volume, the output includes a line for every container mounting that volume. The…
SHOW SERVICESpartialContainer services & dev toolingLists the Snowpark Container Services services (including job services) for which you have access privileges.
SHOW SESSION POLICIESsupportedGovernance (policies, tags, data quality)Lists session policy information, including the creation date, database and schema names, owner, and any available comments.
SHOW SHARED CONTENT IN APPLICATION PACKAGEsupportedNative apps, listings & sharingShows all of the objects for which you have access privileges that have been shared from a Declarative Share application package.
SHOW SHARESsupportedNative apps, listings & sharingLists all shares available in the system:
SHOW SHARES IN FAILOVER GROUPBusiness Critical+supportedReplication, failover & backupLists shares in a failover group.
SHOW SHARES IN REPLICATION GROUPsupportedReplication, failover & backupLists shares in a replication group.
SHOW SNAPSHOTSsupportedReplication, failover & backupNote
SHOW SPECIFICATIONSpartialNative apps, listings & sharingLists the app specifications that have been defined for an app.
SHOW STAGESsupportedData loading & unloadingLists all the stages for which you have access privileges. This command can be used to list the stages for a specified schema or database (or the current…
SHOW STORAGE LIFECYCLE POLICIESsupportedGovernance (policies, tags, data quality)Lists the storage lifecycle policies for which you have access privileges.
SHOW STREAMLITSsupportedContainer services & dev toolingLists the Streamlit objects for which you have access privileges.
SHOW STREAMSsupportedTables, views, streams, sequencesLists the streams for which you have access privileges. The command can be used to list streams for the current/specified database or schema, or across your…
SHOW TABLESsupportedTables, views, streams, sequencesLists the tables for which you have access privileges, including dropped tables that are still within the Time Travel retention period and, therefore, can be…
SHOW TAGSsupportedGovernance (policies, tags, data quality)Lists the tag information.
SHOW TASK GRAPHSpreviewnot supportedUDFs, procedures, tasks, alerts, scriptingLists the Task Graph Objects for which you have access privileges, surfacing graph-wide properties and TASK_DEFAULTS.
SHOW TASKSsupportedUDFs, procedures, tasks, alerts, scriptingLists the tasks for which you have access privileges. The command can be used to list tasks for the current/specified database or schema, or across your entire…
SHOW TELEMETRY EVENT DEFINITIONSsupportedNative apps, listings & sharingLists the event definitions for the specified app.
SHOW TRANSACTIONSsupportedQueries & DMLList all running transactions. The command can be used to show transactions for the current user or all users in the account.
SHOW TYPESsupportedTables, views, streams, sequencesLists the user-defined types for which you have access privileges. Use this command to list the user-defined types for a specified schema or database, the…
SHOW USER FUNCTIONSsupportedUDFs, procedures, tasks, alerts, scriptingLists all user-defined functions (UDFs) for which you have access privileges. Use this command to list the UDFs for a specified database or schema (or the…
SHOW USER KEY PAIRSsupportedAccounts, users, sessions, warehousesLists the named key pairs associated with a user.
SHOW USER PROCEDURESsupportedUDFs, procedures, tasks, alerts, scriptingLists all user-defined procedures for which you have access privileges. Use this command to list the user-defined procedures for a specified database or schema…
SHOW USER PROGRAMMATIC ACCESS TOKENSsupportedAccounts, users, sessions, warehousesLists the programmatic access tokens associated with a user.
SHOW USER PROGRAMMATIC ACCESS TOKENS FOR EXTERNAL CONSUMERsupportedAccounts, users, sessions, warehousesLists the Programmatic Access Tokens (PATs) associated with an external consumer.
SHOW USER WORKLOAD IDENTITY AUTHENTICATION METHODSsupportedAccounts, users, sessions, warehousesLists the workload identity federation settings for a service user.
SHOW USERSsupportedAccounts, users, sessions, warehousesLists all users in the system.
SHOW VARIABLESsupportedUDFs, procedures, tasks, alerts, scriptingLists all variables defined in the current session.
SHOW VERSIONS IN APPLICATION PACKAGEsupportedNative apps, listings & sharingLists the versions defined in the specified application package.
SHOW VERSIONS IN ARTIFACT REPOSITORYpartialContainer services & dev toolingNote
SHOW VERSIONS IN DATASETsupportedAI & MLDisplays information about the datasets in your account at either the schema or database level.
SHOW VERSIONS IN DBT PROJECTsupportedContainer services & dev toolingDisplays the live version of a dbt project object.
SHOW VERSIONS IN LISTINGsupportedNative apps, listings & sharingLists and provides details of all listing versions.
SHOW VERSIONS IN MODELsupportedAI & MLLists the versions in a machine learning model. Models may have multiple versions, one of which must be designated as the default (see ALTER MODEL).
SHOW VERSIONS IN OPENFLOW CONNECTORpreviewnot supportedContainer services & dev toolingLists the configuration versions of a connector, including the live version if one exists.
SHOW VERSIONS IN ORGANIZATION PROFILEsupportedNative apps, listings & sharingLists the organization profile versions for which you have access privileges.
SHOW VIEWSsupportedTables, views, streams, sequencesLists the views, including secure views, for which you have access privileges. The command can be used to list views for the current/specified database or…
SHOW WAREHOUSESpartialAccounts, users, sessions, warehousesLists all the virtual warehouses in your account for which you have access privileges.
SHOW WORKSPACESnot supportedContainer services & dev toolingLists the workspaces for which you have access privileges. Each workspace is associated with a specific database and schema, allowing for organized data access…
SHOW ZEROCOPY CONNECTORSnot supportedIceberg & external tablesLists the Zero-Copy connectors for which you have access privileges. The output returns the state, partner configuration, and other properties of each…

TRUNCATE (2)

StatementSupportAreaDescription
TRUNCATE MATERIALIZED VIEWEnterprise+decommissionedsupportedTables, views, streams, sequencesRemoves all rows from a materialized view, but leaves the view intact (including all privileges and constraints on the materialized view).
TRUNCATE TABLEsupportedTables, views, streams, sequencesRemoves all rows from a table but leaves the table intact (including all privileges and constraints on the table). Also deletes the load metadata for the…

UNDROP (15)

StatementSupportAreaDescription
UNDROP ACCOUNTsupportedAccounts, users, sessions, warehousesRestores a dropped account that has not yet been permanently deleted (a dropped account that is within its grace period).
UNDROP AGENTsupportedAI & MLRestores the most recent version of a dropped Cortex Agent.
UNDROP DATABASEsupportedDatabases & schemasRestores the most recent version of a dropped database.
UNDROP DYNAMIC TABLEsupportedTables, views, streams, sequencesRestores the most recent version of a dropped dynamic table.
UNDROP EXTERNAL VOLUMEsupportedIceberg & external tablesRestores the most recent version of a dropped external volume.
UNDROP ICEBERG TABLEsupportedIceberg & external tablesRestores the most recent version of a dropped Apache Iceberg™ table.
UNDROP NOTEBOOKsupportedContainer services & dev toolingRestores the most recent version of a dropped notebook.
UNDROP SCHEMAsupportedDatabases & schemasRestore the most recent version of a dropped schema.
UNDROP SNAPSHOTsupportedReplication, failover & backupNote
UNDROP STAGEsupportedData loading & unloadingRestores a dropped named internal or external stage.
UNDROP STREAMLITsupportedContainer services & dev toolingRestores the most recent version of a dropped Streamlit object.
UNDROP TABLEsupportedTables, views, streams, sequencesRestores the most recent version of a dropped table.
UNDROP TAGsupportedGovernance (policies, tags, data quality)Restores the most recent version of a tag to the system.
UNDROP TYPEsupportedTables, views, streams, sequencesRestores the most recent version of a user-defined type.
UNDROP VARIABLEdeferredUDFs, procedures, tasks, alerts, scriptingRestores the most recent version of a dropped schema variable.

UNSET (1)

StatementSupportAreaDescription
UNSETsupportedAccounts, users, sessions, warehousesDrops a session variable.

UPDATE (1)

StatementSupportAreaDescription
UPDATEsupportedQueries & DMLUpdates specified rows in the target table with new values.

USE (5)

StatementSupportAreaDescription
USE DATABASEsupportedDatabases & schemasSpecifies the active/current database for the session:
USE ROLEsupportedAccess control (grants, roles)Specifies the active/current primary role for the session. The currently active primary role sets the context that determines whether the current user has the…
USE SCHEMAsupportedDatabases & schemasSpecifies the active/current schema for the session:
USE SECONDARY ROLESsupportedAccess control (grants, roles)Specifies the active/current secondary roles for the session. The currently-active secondary roles set the context that determines whether the current user has…
USE WAREHOUSEsupportedAccounts, users, sessions, warehousesSpecifies the active/current virtual warehouse for the session. You must specify a warehouse for a session, and the warehouse must be running before you can…

Not in the SQL reference (33)

Aliases and variants the emulator accepts. Not counted in the coverage figure.

NameSupportArea
BEGIN … END (Snowflake Scripting block)supportedOther
CREATE OR ALTER ALERTsupportedUDFs, procedures, tasks, alerts, scripting
CREATE OR ALTER APPLICATION PACKAGEsupportedNative apps, listings & sharing
CREATE OR ALTER APPLICATION ROLEsupportedNative apps, listings & sharing
CREATE OR ALTER APPLICATION SERVICEsupportedNative apps, listings & sharing
CREATE OR ALTER AUTHENTICATION POLICYsupportedGovernance (policies, tags, data quality)
CREATE OR ALTER BACKUP POLICYsupportedReplication, failover & backup
CREATE OR ALTER BACKUP SETsupportedReplication, failover & backup
CREATE OR ALTER DATABASEsupportedDatabases & schemas
CREATE OR ALTER DATABASE ROLEsupportedAccess control (grants, roles)
CREATE OR ALTER DYNAMIC TABLEsupportedTables, views, streams, sequences
CREATE OR ALTER FILE FORMATsupportedData loading & unloading
CREATE OR ALTER HYBRID TABLEsupportedTables, views, streams, sequences
CREATE OR ALTER MASKING POLICYsupportedGovernance (policies, tags, data quality)
CREATE OR ALTER NETWORK POLICYsupportedIntegrations, network & secrets
CREATE OR ALTER NETWORK RULEsupportedIntegrations, network & secrets
CREATE OR ALTER PACKAGES POLICYsupportedGovernance (policies, tags, data quality)
CREATE OR ALTER PIPEsupportedData loading & unloading
CREATE OR ALTER PROCEDUREsupportedUDFs, procedures, tasks, alerts, scripting
CREATE OR ALTER RESTRICTED SESSION SCOPEsupportedAccess control (grants, roles)
CREATE OR ALTER ROLEsupportedAccess control (grants, roles)
CREATE OR ALTER ROW ACCESS POLICYsupportedGovernance (policies, tags, data quality)
CREATE OR ALTER SCHEMAsupportedDatabases & schemas
CREATE OR ALTER SECRETsupportedIntegrations, network & secrets
CREATE OR ALTER SEMANTIC VIEWsupportedAI & ML
CREATE OR ALTER SHAREsupportedNative apps, listings & sharing
CREATE OR ALTER STAGEsupportedData loading & unloading
CREATE OR ALTER STREAMsupportedTables, views, streams, sequences
CREATE OR ALTER TAGsupportedGovernance (policies, tags, data quality)
CREATE OR ALTER TASKsupportedUDFs, procedures, tasks, alerts, scripting
CREATE OR ALTER VIEWsupportedTables, views, streams, sequences
CREATE OR ALTER WAREHOUSEsupportedAccounts, users, sessions, warehouses
DECLARE … BEGIN … END (Snowflake Scripting block)supportedOther