ORACLE 캐릭터셋 변경
먼저 확인
SELECT * FROM NLS_DATABASE_PARAMETERS WHERE PARAMETER LIKE '%CHAR%'
$ORACLE> sqlplus '/as sysdba'
SQL> SHUTDOWN IMMEDIATE;
<do a full backup>
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 KO16MSWIN949;
SQL> SHUTDOWN IMMEDIATE;
SQL> STARTUP;
다음은 내가 실행한 결과~
[root@linux root]# su oracle
[oracle@linux root]$ sqlplus /nolog
SQL*Plus: Release 9.2.0.4.0 - Production on Tue Feb 27 10:24:30 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> CONN SYS/***** AS SYSDBA
Connected.
SQL> SHUTDOWN IMMEDIATE;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> STARTUP MOUNT
ORACLE instance started.
Total System Global Area 236000356 bytes
Fixed Size 451684 bytes
Variable Size 201326592 bytes
Database Buffers 33554432 bytes
Redo Buffers 667648 bytes
Database mounted.
SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;
System altered.
SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
System altered.
SQL> ALTER SYSTEM SET AQ_TM_PROCESSES=0;
System altered.
SQL> ALTER DATABASE OPEN;
Database altered.
SQL> ALTER DATABASE CHARACTER SET KO16MSWIN949;
Database altered.
참고 : http://www.oracle.com/technology/global/kr/pub/columns/oracle_lns_1.html
'database' 카테고리의 다른 글
ORACLE dictionary (all_tab_cols) (0) | 2007.11.30 |
---|---|
JEUS XAException발생시 처리방법 (0) | 2007.11.20 |
다중 Row 결과를 단일행으로 컴마로 분리해 출력하는 방법 (0) | 2007.01.23 |
Never Use a RETURN Statement Inside a Loop (0) | 2006.12.26 |
EXECUTE IMMEDIATE (0) | 2006.12.16 |