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監聽問題Oracle
- 配置Oracle DBlink連線MySQL庫OracleMySql
- oracle dblink用法總結和expdp和impdp利用dblink倒入匯出到本地Oracle
- Oracle DBLink中CLOB報錯ORA-22992Oracle
- 達夢7異構(DM-Oracle) DBLINKOracle
- Oracle19c dblink連結mysql8.0OracleMySql
- Oracle DBLink bug引發的故障(Session Hang Memory leak)OracleSession
- oracle和sqlserver互訪(轉)OracleSQLServer
- [Oracle-> MySQL] Oracle通過dblink連線MySQL--Oracle 19c連線到MySQL 5.7OracleMySql
- Oracle DBLink連線數過多的問題(Ora-02020)Oracle
- Oracle建立dblink報錯:ORA-01017、ORA-02063解決Oracle
- 建立dblink
- Oracle和sqlserver資料型別對應OracleSQLServer資料型別
- sqlserver讀取oracle資料庫資料SQLServerOracle資料庫
- 【YashanDB知識庫】oracle dblink varchar型別查詢報錯記錄Oracle型別
- 配置ORACLE資料庫到達夢資料庫的異構DBLINKOracle資料庫
- sqlserver建立與Oracle的連結伺服器SQLServerOracle伺服器
- 資料庫選型比對 Oracle vs sqlserver資料庫OracleSQLServer
- PostgreSQL DBA(58) - DBLinkSQL
- 不能刪除DBLINK
- Oracle DBLink跨資料庫訪問SQL server資料同步 踩坑實錄Oracle資料庫SQLServer
- ORACLE通過透明閘道器建dblink連線Postgresql的幾個問題OracleSQL
- Oracle透明閘道器訪問SQLServer資料庫OracleSQLServer資料庫
- Oracle 級聯表更新和SQLServer 級聯表更新OracleSQLServer
- dblink建立語句模板
- Oracle資料庫連結(DBLink)中如何訪問包含BLOB欄位的資料Oracle資料庫
- SQL Server建立dblink至MySQLServerMySql
- 【DBLINK】DBLINK域名問題及與global_name和db_domian的關係
- dblink涉及的表的賦權
- MySQL下的DBlink--FEDERATED引擎MySql
- 【等待事件】SQL*Net message from dblink事件SQL
- Sqlserver_Oracle_Mysql_Postgresql不同資料庫之隔離級別介紹ServerOracleMySql資料庫
- ORACLE dblink遠端DB表truncat導致本地proc執行報錯ORA-12012&ORA-06550&PLS-00907Oracle
- 【等待事件】SQL*Net more data from dblink事件SQL
- SQLSERVER匯出TXT文字檔案,ORACLE SQL LOADER匯入TXT文字檔案SQLServerOracle
- sql中select列有自定義函式 dblinkSQL函式
- powerbuildr中如何使用dblink連線的表UI
- 達夢7同構(DM-DM)DBLINK
- 如何通過DBLINK取remote DB的DDLREM