---
title: "64位oracle 安装32位plsql develop"
author: "tomfish88"
date: "2013-11-21T10:25:40Z"
tags: []
categories: ["数据库"]
slug: "64-oracle-32-plsql-develop"
draft: false
lastmod: "2013-11-21T10:25:40Z"
id: 1978317
url: "https://tomfish88.iteye.com/blog/1978317"
---

由于 pl/sql只能在32位系统平台运行，所以要在win7（64位）下运行需要下载32位Oracle client。
下载地址：http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

第一个好像不好用，那个11版本的好用，
之后操作：
1、下载instantclient_32位客户端,解压后到位置D:\ORACLE\instantclient
2、拷贝两个文件msvcr80.dll和tnsnames.ora到解压的instantclient
  (1)C:\oracle\product\11.2.0\dbhome_1\BIN
  (2)C:\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN
3、我的电脑->属性->高级->环境变量->系统环境变量->新建
  PATH、NLS_LANG和 TNS_ADMIN 系统环境变量
  (1)path=D:\ProgramFiles\instantclient
  (2)TNS_ADMIN=D:\ProgramFiles\instantclient
  (3)NLS_LANG=AMERICAN_AMERICA.AL32UTF8

  （4）
在PLSQL Developer选择Tools > Preferences > options > "Oracle Home" and "OCI Library",例如：

oracle home:  填写的是你oracle client 所解压的目录，如：D:\TDDOWNLOAD\oracle\instantclient-basic-nt-11.2.0.3.0\instantclient_11_2
oci library：填写的是你oracle client 中所拷贝过去的oci.dll文件路径  如：D:\TDDOWNLOAD\oracle\instantclient-basic-nt-11.2.0.3.0\instantclient_11_2\oci.dll
最后重启即可。