oracle DBLink sqlserver
1,安裝getway 並配置以下檔案
D:\oracle\product\10.2.0\tg_1\tg4msql\admin\inita24ict.ora
內容修改:
HS_FDS_CONNECT_INFO="SERVER=10.182.15.67;DATABASE=ictdb"
HS_FDS_TRACE_LEVEL=OFF
D:\oracle\product\10.2.0\tg_1\NETWORK\ADMIN\listener.ora
修改內容如下:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = a24ict)
(ORACLE_HOME = D:\oracle\product\10.2.0\tg_1)
(PROGRAM = tg4msql)
)
(SID_DESC =
(SID_NAME = icttest)
(ORACLE_HOME = D:\oracle\product\10.2.0\tg_1)
(PROGRAM = tg4msql)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.182.15.67)(PORT = 1521))
)
)
2,檢查監聽是否啟動
TNSLSNR.exe
3配置 tnsnames.ora
A24ICT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.182.15.69)(PORT = 1521))
(CONNECT_DATA = (SID = a24ict)) (HS = OK)
)
[oracle@zdttest admin]$ tnsping 10.182.15.69
TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 07-OCT-2011 11:05:36
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
Used EZCONNECT adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=10.182.15.69))(ADDRESS=
(PROTOCOL=TCP)(HOST=10.1
82.15.69)(PORT=1521)))
OK (10 msec)
SQL> create public database link ink_ict69
2 connect to sa identified by admin
3 using 'A24ICT';
SQL> select * from Fluke_table@ink_ict69 where rownum=1;
Partnum Revision Work_Order Line_id Operator
-------------------- ---------- -------------------- ---------- ---------------
No Fixture Instrument
-------------------- -------------------- --------------------
Barcode Result ACVoltage AmpHi AmpLow
------------------------------ ---------- ---------- ---------- ----------
Frequency FreqHi FreqLow TestDate TestTi
--------------- --------------- --------------- -------- ------
FSAP304 A WS8-B20313 P2B23 ???
F0727152 SGGFSAP304-28 20
C4614042PPLDHWWA9 PASS 99.441 150.000 77.500
1012.504 1200.000 800.000 20110930 124231
OK!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15187685/viewspace-741405/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle DBLink oracleOracle
- ORACLE DBLINKOracle
- Oracle private dblink和pubic dblinkOracle
- oracle之DBLINKOracle
- Oracle dblink詳解Oracle
- Oracle建立dblink MySQLOracleMySql
- Oracle dblink介紹Oracle
- oracle dblink問題Oracle
- Oracle dblink詳解(轉)Oracle
- 【PL/SQL】oracle建立dblinkSQLOracle
- 水煮oracle34----oracle dblink詳解Oracle
- Oracle dblink監聽問題Oracle
- 配置Oracle DBlink連線MySQL庫OracleMySql
- oracle database link (dblink) 工作原理OracleDatabase
- Oracle SQL performance with database links - dblinkOracleSQLORMDatabase
- 建立oracle dblink 的兩種方式Oracle
- sqlserver連線oracleSQLServerOracle
- SQLSERVER 連線 ORACLESQLServerOracle
- oracle dblink用法總結和expdp和impdp利用dblink倒入匯出到本地Oracle
- oracle 12c使用dblink克隆pdbOracle
- Oracle DBLINK 抽數以及DDL、DML操作Oracle
- SQLServer解析xml到OracleSQLServerXMLOracle
- Oracle 11g使用dblink與12c使用dblink的一點區別Oracle
- 達夢7異構(DM-Oracle) DBLINKOracle
- Oracle->Mysql dblink 建立詳細過程OracleMySql
- oracle 9i 刪除dblink問題Oracle
- oracle和sqlserver互訪(轉)OracleSQLServer
- (原)將Oracle遷移到SQLServerOracleSQLServer
- oracle和sqlserver互訪(1)OracleSQLServer
- oracle和sqlserver互訪(2)OracleSQLServer
- oracle和sqlserver互訪(3)OracleSQLServer
- WEKA連線MySQL,Oracle,SQLServerMySqlOracleServer
- Oracle19c dblink連結mysql8.0OracleMySql
- ORACLE 建立DBLINK 自動加域名解決方案Oracle
- oracle dblink實現insert語句的同步Oracle
- SQL Server通過dblink訪問Oracle資料SQLServerOracle
- linux oracle 建立informix dblink 錯誤解決LinuxOracleORM
- Oracle DBLink bug引發的故障(Session Hang Memory leak)OracleSession