Previous Topic

Next Topic

Book Contents

Book Index

Scriptin - Disconnect function

This function is used to disconnect from a database. It should only be used when running Batch Scripts.

The Disconnect function takes two parameters:

Example:

--aqt disconnect,dbs=aqtdemo

If you are using transactions in your batch script, AQT will do a Commit before disconnecting.

In the normal course of events you do not need to do this. Prior to terminating the batch script, AQT will disconnect from all databases. You would only use Disconnect if you wished to manually control your database connections.