You can use the Loader’s USER SERVERDB command for starting a database to establish a connection to another database instance.
<use_serverdb_command> ::= USE <database_name_statement>
<database_name_statement> |
SERVERDB <valDBNAME> [ON <valDBNODE> [ENCRYPTION <valPROTOCOL_NAME>]] |
<valDBNAME> |
Name of database instance Valid for the entire database session with this database instance If the name of the database instance is identical to a keyword or if the upper- and lowercase notation is relevant, the name must be placed in quotation marks. |
ON <valDBNODE> |
Name of the computer on which the database instance is installed for which a database session is to be started. If this is not specified, the Loader assumes that the specified database instance was created on the computer to which the user of the Loader is logged on. |
ON <valDBNODE> ENCRYPTION <valPROTOCOL_NAME> |
In addition, you can specify the name of the requested encryption protocol valPROTOCOL_NAME to ensure the data transfer is encrypted. This option is currently only supported for SAP systems and SSL. |
USE USER mona red SERVERDB demodb ON genua
//
USE SERVERDB demodb ON parma
User MONA is logged on to database instance DEMODB on computer GENUA. You use the USE SERVERDB command to switch to database instance DEMODB on computer PARMA.
A database user with the same name and password must exist on the new database instance.
You switch to another database instance without having to exit the Loader. It terminates the connection to the current database instance and sets up the new connection to the database instance.
All subsequent commands are referred to this database instance by the Loader.
See also:
Starting a Database Session: Commands
Options for Establishing a Connection