標籤:process mini line .dll 資料庫 parameter 動態連結程式庫 imm microsoft
字元編碼的環境變數配置:
http://jingyan.baidu.com/article/e73e26c0c20f1a24adb6a73e.html
(1).資料庫伺服器字元集
select * from nls_database_parameters
(2).用戶端字元集環境
select * from nls_instance_parameters
步驟:
SQL>conn /as sysdba
SQL>shutdown immediate;
SQL>startup mount
SQL>ALTER SYSTEM ENABLE RESTRICTED SESSION;
SQL>ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
SQL>ALTER SYSTEM SET AQ_TM_PROCESSES=0;
SQL>alter database open;
SQL>ALTER DATABASE CHARACTER SET utf8;
ALTER DATABASE CHARACTER SET ZHS16GBK ERROR at line 1:
ORA-12712: new character set must be a superset of old character set
SQL>ALTER DATABASE character set INTERNAL_USE utf8;
SQL>select * from v$nls_parameters;
運行sqlplus 使用者登入時的異常:
無法定位程式輸入焦點longjmp於動態連結程式庫orauts.dll上
解決辦法:
將 F:\app\Administrator\product\11.2.0\dbhome_1\BIN 放到最前面就行了
例如:
F:\app\Administrator\product\11.2.0\dbhome_1\BIN;F:\oracle\product\10.2.0\client_1\BIN;%java_home%\bin;%java_home%\jre\bin;F:\mysql\mysqlserve\bin;%CommonProgramFiles%\Microsoft Shared\Windows Live;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS ;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem
oracle 環境變數配置 字元集編碼配置