PLSQL串連Oracle 資料庫配置詳解

來源:互聯網
上載者:User

標籤:右擊   net   chinese   load   library   line   選擇   配置   style   

1. 下載instantclient-basic-win32-11.2.0.1.0

(oracle官網:http://www.oracle.com/technetwork/topics/winsoft-085727.html , 2:http://download.csdn.net/detail/czw2010/5732241)

   2. 解壓instantclient-basic-win32-11.2.0.1.0並放置在oracle安裝目錄的product下(置放位置無強制要求,可隨意放置),如:

 

  3. 拷貝D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN下的tnsnames.ora檔案到instantclient_11_2下。

 4. 開啟PLSQL Developer,選擇Tools -> perference -> Connection,配置其中的Oracle Home和OCI Library項,如所示:

 

 

 

 

 

其中, Oracle Home:D:\app\Administrator\product\instantclient_11_2

  OCI Library:D:\app\Administrator\product\instantclient_11_2\oci.dll

         5.  配置系統內容變數

            右擊"我的電腦" - "屬性" - "進階" - "環境變數" - "系統內容變數":
            1>.選擇"Path" - 點擊"編輯", 把 "D:\app\Administrator\product\instantclient_11_2;" 加入;
            2>.點擊"建立", 變數名設定為"TNS_ADMIN", 變數值設定為"D:\app\Administrator\product\instantclient_11_2;", 點擊"確定";
            3>.點擊"建立", 變數名設定為"NLS_LANG", 變數值設定為"SIMPLIFIED CHINESE_CHINA.ZHS16GBK", 點擊"確定";

 

PLSQL串連Oracle 資料庫配置詳解

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.