A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.snowflake.com/en/sql-reference/sql/drop-application below:

DROP APPLICATION | Snowflake Documentation

Reference SQL command reference Native Apps Framework DROP APPLICATION DROP APPLICATION

Removes an application from the system in the Native Apps Framework.

See also:

ALTER APPLICATION, CREATE APPLICATION, CREATE APPLICATION, SHOW APPLICATIONS

Syntax
DROP APPLICATION [ IF EXISTS ] <name> [ CASCADE ]

Copy

Required parameters
name

Specifies the identifier for the application object to drop. If the identifier contains spaces, special characters, or mixed-case characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.

Optional parameters
CASCADE

Drops the application object and all objects owned by the app, including tables with primary or unique keys that are referenced by foreign keys in other tables.

If CASCADE is not specified, this command returns an error if the app owns objects outside of itself.

If CASCADE is specified all objects owned by the app are dropped, even if those objects contain other objects owned by the consumer. For example, if the consumer transfers ownership of a schema or table to an account role, but leaves the parent database owned by the app, running this command with CASCADE also drops those objects.

To retain objects owned by the application, use the GRANT OWNERSHIP command to transfer ownership of those objects, then run this command without CASCADE.

Usage notes Examples
DROP APPLICATION hello_snowflake_app;

Copy

+-------------------------------------------+
| status                                    |
|-------------------------------------------|
| hello_snowflake_app successfully dropped. |
+-------------------------------------------+

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4