[출처 :
http://zietz.tistory.com ]
1. 현재 설치되어 있는 캐릭터셋 조회
SQL> select * from nls_database_parameters
2. 캐릭터셋 변경
① sysdba 권한으로 접속
C:\Users\Administrator>
sqlplus "/as sysdba"SQL*Plus: Release 11.2.0.1.0 Production on 월 10월 7 11:34:32 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
다음에 접속됨:
Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
② 시스템 정상 종료 및 마운트 접속SQL>
shutdown immediate데이터베이스가 닫혔습니다.
데이터베이스가 마운트 해제되었습니다.
ORACLE 인스턴스가 종료되었습니다.
SQL>
startup mount;ORACLE 인스턴스가 시작되었습니다.
Total System Global Area 1670221824 bytes
Fixed Size 2176328 bytes
Variable Size 989858488 bytes
Database Buffers 671088640 bytes
Redo Buffers 7098368 bytes
데이터베이스가 마운트되었습니다.
③ 일반 사용자의 세션 가능 제한 모드SQL>
alter system enable restricted session;시스템이 변경되었습니다.
④ job_queue_processes에 등록된 JOB 프로세스 정지SQL>
alter system set job_queue_processes=0;시스템이 변경되었습니다.
⑤ aq_tm_processes에 등록된 JOB 프로세스 정지SQL>
alter system set aq_tm_processes=0;시스템이 변경되었습니다.
⑥ DB 오픈SQL>
alter database open;데이타베이스가 변경되었습니다.
⑦ 변경할 캐릭터 셋으로 변경SQL>
alter database character set internal_use UTF8;데이타베이스가 변경되었습니다.
⑧ DB 정상종료SQL>
shutdown immediate데이터베이스가 닫혔습니다.
데이터베이스가 마운트 해제되었습니다.
ORACLE 인스턴스가 종료되었습니다.
⑨ DB 재시작SQL>
startupORACLE 인스턴스가 시작되었습니다.
Total System Global Area 1670221824 bytes
Fixed Size 2176328 bytes
Variable Size 989858488 bytes
Database Buffers 671088640 bytes
Redo Buffers 7098368 bytes
sql>update sys.props$ set value$='UTF8'
where name='NLS_CHARACTERSET';
sql>update sys.props$ set value$='UTF8'
where name='NLS_NCHAR_CHARACTERSET';
sql>update sys.props$ set value$='KOREAN_KOREA.UTF8'
where name='NLS_LANGUAGE';
sql>commit;