当前位置: 代码迷 >> SQL >> oracle 11g 64浣嶅畨瑁?二浣嶅?鎴风?鍜孭L/SQL
  详细解决方案

oracle 11g 64浣嶅畨瑁?二浣嶅?鎴风?鍜孭L/SQL

热度:254   发布时间:2016-05-05 10:17:06.0
oracle 11g 64浣嶅畨瑁?2浣嶅?鎴风?鍜孭L/SQL
tsname.ora鏂囦欢閿欒?鏃舵棤娉曟墜鍔ㄩ厤缃?殑
杩欎釜浣犻渶瑕佸畨瑁呬竴涓?2浣嶇殑oracle瀹㈡埛绔?墠鑳戒娇鐢╬lsql锛屼絾鏄??鏃秙qlplus灏变笉鑳戒娇鐢ㄤ簡锛屽懙鍛?.


鎴戝張璇曚簡浠ヤ笅鏂规硶锛屾垚鍔熶簡锛屽搱鍝?


1锛夊畨瑁匫racle 11g 64浣?

2锛夊畨瑁?2浣嶇殑Oracle瀹㈡埛绔?紙 instantclient-basic-win32-11.2.0.1.0锛?
涓嬭浇鍦板潃锛歨ttp://www.oracle.com/technetwork/cn/topics/winsoft-095945-zhs.html


涓嬭浇instantclient-basic-win32-11.2.0.1.0.zip (涓?瀹氬緱鏄?2浣嶇殑锛屼笉瑕佷笅閿欎簡鐗堟湰锛孫racle瀹樼綉鏈変笅杞斤級锛屽皢鍏惰В鍘嬭嚦Oracle瀹夎?鐩?綍鐨凱roduct涓嬶紙鏈?満鍛藉悕涓猴細instantclient_11_2锛夛細D:\Oracle\app\YM\product\instantclient_11_2銆?

鎷疯礉鏁版嵁搴撳畨瑁呮牴鐩?綍涓嬬殑涓?涓?洰褰旸:\Oracle\app\YM\product\11.2.0\dbhome_1\NETWORK鍒癘racle瀹㈡埛绔?洰褰曚笅D:\Oracle\app\YM\product\instantclient_11_2锛堝叾瀹炲彧闇?瑕?NETWORK\ADMIN\tnsnames.ora锛?

3锛夊畨瑁匬L/SQL Developer

瀹夎? PL/SQL Developer锛屽湪perference->Connection閲岄潰璁剧疆OCI Library鍜孫racle_Home锛屼緥濡傛湰鏈鸿?缃?负锛?

Oracle Home 锛欴:\Oracle\app\YM\product\instantclient_11_2

OCI Library 锛欴:\Oracle\app\YM\product\instantclient_11_2\oci.dll


4) 璁剧疆鐜??鍙橀噺(淇?敼PATH鍜孴NS_ADMIN鐜??鍙橀噺)

瀵逛簬NLS_LANG鐜??鍙橀噺, 鏈?濂借?缃?垚鍜屾暟鎹?簱绔?竴鑷? 棣栧厛浠庢暟鎹?簱绔?煡璇㈠瓧绗﹂泦淇℃伅:
SQL> select userenv('language') nls_lang from dual;
NLS_LANG
----------------------------------------------------
SIMPLIFIED CHINESE_CHINA.ZHS16GBK

鍙冲嚮"鎴戠殑鐢佃剳" - "灞炴?? - "楂樼骇" - "鐜??鍙橀噺" - "绯荤粺鐜??鍙橀噺":
1>.閫夋嫨"Path" - 鐐瑰嚮"缂栬緫", 鎶?"D:\Oracle\app\YM\product\instantclient_11_2;" 鍔犲叆;
2>.鐐瑰嚮"鏂板缓", 鍙橀噺鍚嶈?缃?负"TNS_ADMIN", 鍙橀噺鍊艰?缃?负"D:\Oracle\app\YM\product\instantclient_11_2;", 鐐瑰嚮"纭?畾";
3>.鐐瑰嚮"鏂板缓", 鍙橀噺鍚嶈?缃?负"NLS_LANG", 鍙橀噺鍊艰?缃?负"SIMPLIFIED CHINESE_CHINA.ZHS16GBK", 鐐瑰嚮"纭?畾";
鏈?鍚庣偣鍑?纭?畾"閫?鍑?


鍚?姩 PL/SQL Developer 锛岃繍琛屾棤闂??銆?nbsp;
  相关解决方案