Skip to content
The latest version of DbVisualizer was released 2024-07-04DOWNLOAD HERE ->

Executing SQL at Connect and Disconnect

Connection hooks defines optional SQL commands that are sent to the database at connect and just before disconnect. They are typically used to initialize the database session with custom settings and to clean up various resources at disconnect.

You can enter the SQL you want to execute in the Properties tab for the connection, in the Connection Hooks category.