본문 바로가기

TOOLS

[TOAD] TOAD 에러 코드 - ORA-06552 , ORA-06553


ORACLE DB NLS_LANG 값을 2차례 변경 한 후 TOAD 접속시 마다 이러한 에러코드가 떨어 졌다.

** TOAD  에러 코드

ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-553: 알 수 없는 문자 집합 이름입니다




SYS  계정으로 접속 합니다~ ^^


Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Seo>sqlplus

SQL*Plus: Release 10.2.0.1.0 - Production on 월 1월 17 11:38:44 2011

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

사용자명 입력: sys
암호 입력:

다음에 접속됨:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL> shutdown immediate;
데이터베이스가 닫혔습니다.
데이터베이스가 마운트 해제되었습니다.
ORACLE 인스턴스가 종료되었습니다.
SQL> startup mount;
ORACLE 인스턴스가 시작되었습니다.

Total System Global Area  805306368 bytes
Fixed Size                  1289996 bytes
Variable Size             239075572 bytes
Database Buffers          562036736 bytes
Redo Buffers                2904064 bytes
데이터베이스가 마운트되었습니다.

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> select name, value$ from sys.props$
  2  where name=upper('nls_language') or name=upper('nls_territory')
  3  ;

NAME
------------------------------
VALUE$
--------------------------------------------------------------------------------

NLS_LANGUAGE
AMERICAN.AMERICA.KO16KSC5601

NLS_TERRITORY
AMERICA


SQL> col value new_value charset
SQL> select value from nls_database_parameters where parameter=upper('nls_characterset');
VALUE
--------------------------------------------------------------------------------
KO16KSC5601

SQL> col value new_value ncharset
SQL> select value from nls_database_parameters where parameter=upper('nls_nchar_characterset');

VALUE
--------------------------------------------------------------------------------
KO16KSC5601

SQL> alter database character set internal_use &charset;
구   1: alter database character set internal_use &charset
신   1: alter database character set internal_use KO16KSC5601

데이타베이스가 변경되었습니다.

SQL> alter database character set internal_use &ncharset;
구   1: alter database character set internal_use &ncharset
신   1: alter database character set internal_use KO16KSC5601

데이타베이스가 변경되었습니다.

SQL> shutdown immediate;
데이터베이스가 닫혔습니다.
데이터베이스가 마운트 해제되었습니다.
ORACLE 인스턴스가 종료되었습니다.

SQL> startup;
ORACLE 인스턴스가 시작되었습니다.
Total System Global Area  805306368 bytes
Fixed Size                  1289996 bytes
Variable Size             239075572 bytes
Database Buffers          562036736 bytes
Redo Buffers                2904064 bytes
데이터베이스가 마운트되었습니다.
데이터베이스가 열렸습니다.

SQL> shutdown immediate;
데이터베이스가 닫혔습니다.
데이터베이스가 마운트 해제되었습니다.
ORACLE 인스턴스가 종료되었습니다.

SQL> startup;
ORACLE 인스턴스가 시작되었습니다.

Total System Global Area  805306368 bytes
Fixed Size                  1289996 bytes
Variable Size             239075572 bytes
Database Buffers          562036736 bytes
Redo Buffers                2904064 bytes
데이터베이스가 마운트되었습니다.
데이터베이스가 열렸습니다.
SQL>