ASA Database Administration Guide
Connecting to a Database
Troubleshooting connections
The Interactive SQL utility has a different behavior from the default Embedded SQL behavior when a CONNECT statement is issued while already connected to a database. If no database or server is specified in the CONNECT statement, Interactive SQL connects to the current database, rather than to the default database. This behavior is required for database reloading operations.
For more information, see CONNECT statement [ESQL] [Interactive SQL].