(1)首先你要先下载instantclient (解压如下),修改你 instantclient/network/admin/tnsnames.ora 文件,将你oracle的服务器地址写上
tnsnames.ora 文件内容
cs_de_o=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.145.62)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = CSZHANG01)
)
)
HOST = 192.168.145.62 --服务器ip
SERVICE_NAME=CSZHANG01 --服务器的实例名
cs_de_o --给这个tns的别名吧(反正是你自己看,你能区别出来就行)
(2)下载plsql 工具(解压)
(3)配置环境变量
TNS_ADMIN D:\PL.SQL.Developer\instantclient_11_2\network\admin -----(instantclient_12_1的路径,我是将instantclient 解压在plsql中)
NLS_LANG SIMPLIFIED CHINESE_CHINA.ZHS16GBK ----(设置语言)
原文:http://www.cnblogs.com/zhangXingSheng/p/7142342.html