DROP CONNECTION
Applies to: Databricks SQL
Databricks Runtime 13.3 LTS and above
Unity Catalog only
Drops a connection. An exception is thrown if the connection does not exist in the metastore.
Permissions
To drop a connection, you must own the connection or have both the MANAGE and USE CONNECTION privileges on it.
Syntax
DROP CONNECTION [ IF EXISTS ] connection_name
Parameters
-
IF EXISTS
If specified, no exception is thrown when the connection does not exist.
-
The name of an existing connection in the metastore. If the name does not exist, an exception is thrown.
Examples
SQL
> DROP CONNECTION mysql_connection;