工具:
Oracle精简客户端:Ora10InstantClient
PL/SQL版本: Version 8.0.1.1498
OS:
64位 WIN7旗舰版
方法:
1. 解压Ora10InstantClient为c:\Ora10InstantClient
2. 安装PL/SQL DEV并打开,在菜单上选择Tools(工具)--Preferences(首选项)
在“Oracle Home(empty is autodetect)”的下面输入:
c:\Ora10InstantClient
在“OCI library(empty is autodetect)”的下面输入:
c:\Ora10InstantClient\oci.dll
3. 在c:\Ora10InstantClient\下新建文件tnsnames.ora,内容格式如下:
cry=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.111)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME =orcl)
)
)
4. 设置环境变量NLS_LANG,一般设为AMERICAN_AMERICA.ZHS16GBK
5. 重新打开PL/SQL DEV即可