耐心无止境 成功一瞬间

BlogJava 联系 聚合 管理
  31 Posts :: 5 Stories :: 25 Comments :: 0 Trackbacks

轻便的客户端oracle instant client安装备忘:
假定instant client 解压到E:\OracleInstantClient
1.SET PATH=E:\OracleInstantClient;
2.SET TNS_ADMIN=E:\OracleInstantClient
3.新建一个tnsnames.ora,然后填入
for example:
192.168.0.20 =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.20)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = orcl)
    )
)
4.SET LD_LIBRARY_PATH=E:\OracleInstantClient

5.如果要安装SQL plus那么需要设置SET SQLPATH=E:\OracleInstantClient
6.如果查询结果为乱码,设置set NLS_LANG=XXXX(我自己是SIMPLIFIED CHINESE_CHINA.ZHS16CGB231280)

原地址:http://www.blogjava.net/rocky/archive/2007/09/13/oracle_instant_client.html

posted on 2008-04-27 20:07 Joshua Yan 阅读(466) 评论(0)  编辑  收藏 所属分类: Java

只有注册用户登录后才能发表评论。


网站导航: