oracle odbc配置

Win7 64位 下安装oracle odbc 不能使用控制面板中 “管理工具”->“数据源(OBDC)”中安装数据源。

而要在“ 运行” 中输入  C:\Windows\SysWOW64\odbcad32.exe  安装数据源。

oracle odbc配置

选择添加 
oracle odbc配置

选择 Oracle  in OraClient11g_home1  点击“完成”
 oracle odbc配置

填好数据,TNS Server Name 格式为“ip:port/数据库名称” 点击“Test Connection”
oracle odbc配置

填好密码 点击“OK”
oracle odbc配置
配置完成

系统变量的设置, 中文乱码解决

1查看字符集编码, 在数据库服务器端 启动 sqlplus 

SQL->select userenv('language') from dual
       SIMPLIFIED CHINESE_CHINA.ZHS16GBK

2 在系统的环境变量里面加了个NLS_LANG值也是SIMPLIFIEDCHINESE_CHINA.ZHS16GBK