Use these embedded SQL statements to connect to a database instance and open a database session.
...
1. In the SQL mode INTERNAL, use the SET SERVERDB statement to specify the name of the database instance to which you want to connect, and the name of the server on which the database instance is running.
In the SQL mode ORACLE, enter the name and server of the database instance in the USING clause of the CONNECT statement.
2. Use the CONNECT statement to specify the user name and password and open the database session. At the same time, you can choose options for the database connection.