文章目录
1.下载oracle-odbc插件
https://download.oracle.com/otn_software/nt/instantclient/instantclient-odbc-windows.zip
2.下载instantclient-basic插件
https://download.oracle.com/otn_software/nt/instantclient/instantclient-basic-windows.zip
3.oracle-odbc插件解压放到instantclient-basic插件下
4.修改network\admin下的tnsnames.ora
DW01_177 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.xxx.xxx.xxx)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dw01)
)
)
DW01_175 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.xxx.xxx.xxx)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dw01)
)
)
5.环境配置
6.打开win10的odbc程序