Oracle database connection to other databases (DB2/sql server)

  1. Step 1: Open this software.

write picture description here

  1. Step 2: Enter the software page.

write picture description here

third step:
write picture description here

Step 4: Fill in the corresponding information.
write picture description here

the fifth step:
write picture description here

Step 6:
write picture description here

Step 7:
write picture description here

Step 8:
write picture description here

Step 9: Step 10:
write picture description here
Step
write picture description here
11:
write picture description here

Step 12:
write picture description here

Step Thirteen:
write picture description here

Step Fourteen: Step
write picture description here
Fifteen:
write picture description here

Step 16:
write picture description here

Step 17:
write picture description here

Step 18:
write picture description here

Step 19:
write picture description here

Step 20:
write picture description here

The twenty-first step:
write picture description here

Step 22:
write picture description here

Step 23:
write picture description here

Step 24:
write picture description here

Step 25:
write picture description here

Contents of files involved:
( http://download.csdn.net/download/tangxingiloveyou/10261220 )

initv6db.ora

# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
#
# HS init parameters
#
HS_FDS_CONNECT_INFO = v6db
 # DWCTRLDB
HS_FDS_TRACE_LEVEL = off
#
# Environment variables required for the non-Oracle system
#
#set <envvar>=<value>

listener.ora (PROGRAM=dg4odbc filled in here)

 (SID_DESC=
         (SID_NAME=v6db)
         (ORACLE_HOME=D:\app\Administrator\product\11.2.0\dbhome_1)
         (PROGRAM=dg4odbc)
       )

Remarks: After the configuration is completed, you need to restart the service and monitor, otherwise it will report (ora-12505 tns listener currently does not recognize the sid given in the connection descriptor) error.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325813546&siteId=291194637