# Disconnect

The Disconnect statement terminates the current ODBC/OLE DB/Custom connection. This statement is optional.

Syntax:

Disconnect

The connection will be automatically terminated when a new connect statement is executed or when the script execution is finished.

Example:

`Disconnect;`