Del via


DROP CONNECTION

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime 13.3 LTS and above check marked yes Unity Catalog only

Drops a connection. An exception is thrown if the connection does not exist in the metastore. To drop a connection you must be its owner.

Syntax

DROP CONNECTION [ IF EXISTS ] connection_name

Parameters

  • IF EXISTS

    If specified, no exception is thrown when the connection does not exist.

  • connection_name:

    The name of an existing connection in the metastore. If the name does not exist, an exception is thrown.

Examples

> DROP CONNECTION mysql_connection;