DISCONNECT

Closes a previously established connection to another Vertica database. You must have previously used the CONNECT statement to perform a COPY FROM VERTICA or EXPORT TO VERTICA statement.

Syntax

DISCONNECT db‑spec

Parameters

db‑spec

Specifies the target database, either the database name or DEFAULT.

Privileges

None

Example

=> DISCONNECT ExampleDB;
DISCONNECT