Entering content frame

Background documentation SQL Sessions Locate the document in the library structure

An SQL session must be started before the Database Manager can transfer SQL statements to the database instance and display result sets and their structure. All commands that require an SQL session with the database instance open the session implicitly when they are executed and then end it again after the command has been executed.

Recommendation

With SQL statements that can only be executed by certain database users, we recommend first opening an SQL session with the data of this database user, executing all SQL statements and then either closing the SQL session or, as the case may be, closing the program being used.

We also recommend this procedure if you want to transfer a large number of SQL statements, or if you think the SQL statement will have a large result set. In this case, you also need to execute multiple SQL statements, one after another, to scroll through the results data.

See also:

Database Manager CLI, SQL Access to the Database Instance

 

Leaving content frame