If the following code is executed in the order shown:
conDB2 As DB2Connection con
DB2.ConnectionString = "Server=RmtDB2;UID=db2user;PWD=db2pwd;"
conDB2.Open()
Answer(s)
- the remote database listens on port 50000, which of the following statements iscorrect?A. An exception is thrown because the port number has not been specified.
- An exception is thrown because the database name has not been specified.
- The execution is successful provided the RmtDB2 host name has been previously added tothe local hosts table.
- The execution is successful provided the remote database has been previously added to thelocal database catalog.
Correct Answer An exception is thrown because the database name has not been specified.