ij¸¯ÅÍ ¼Â¿¡ º¯°æÇÒ ½Ã ±âÁ¸¿¡ ÀÖ´ø ÀÚ·áµéÀÇ Ä³¸¯ÅÍ ¼ÂÀ¸·Î ¼³Á¤µÈ µ¥ÀÌÅ͵鵵 º¯°æÀÌ ±ÛÀÚ°¡ ±úÁý´Ï´Ù.
ij¸¯ÅÍ ¼Â º¯°æ½Ã ¸¹Àº ÁÖÀÇ »çÇ×ÀÌ ¿ä±¸ µË´Ï´Ù.
Oracle µ¥ÀÌÅͺ£À̽º(9i) »ý¼º½Ã¿¡ ij¸¯ÅÍ ¼ÂÀ» ±âº»°ªÀ¸·Î ¼³Á¤ÇÏ°Ô µÇ¸é WE8DEC ·Î ¼³Á¤µË´Ï´Ù.
À¯ÀÇ »çÇ×À¸·Î ÀÌ ¹æ¹ýÀº 9i±îÁö Áö¿øÇϸç, 10gºÎÅÍ´Â Áö¿øÇÏÁö ¾Ê½À´Ï´Ù.
10g ºÎÅÍ´Â CSSCAN°ú CSALTER ¶ó´Â À¯Æ¿¸®Æ¼¸¦ ÀÌ¿ëÇؼ º¯°æÇϽñ⠹ٶø´Ï´Ù.
1. ÇöÀç ¿À¶óŬ ¼¹ö¿¡ ¼³Á¤µÈ ij¸¯ÅÍ ¼Â Á¶È¸
SQL> select * from nls_database_parameters
where parameter = 'NLS_CHARACTERSET';
PARAMETER VALUE
------------------------------ --------------------
NLS_CHARACTERSET WE8ISO8859P1
¶Ç´Â
SQL> select * from props$ where name='NLS_CHARACTERSET';
NAME VALUE$ COMMENT$
---------------------- --------------- -------------
NLS_CHARACTERSET WE8ISO8859P1 Character set
2. WE8ISO8859P1 À» KO16KSC5601À¸·Î º¯°æ
¨ç sysdba ±ÇÇÑÀ¸·Î Á¢¼Ó
SQL> sqlplus '/as sysdba'
¨è ½Ã½ºÅÛ Á¤»ó Á¾·á ¹× ¸¶¿îÆ® Á¢¼Ó
SQL> shutdown immediate;
SQL> startup mount;
¨é ÀÏ¹Ý »ç¿ëÀÚÀÇ ¼¼¼Ç °¡´É Á¦ÇѸðµå
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;
¨í º¯°æÇÒ Ä³¸¯ÅÍ ¼ÂÀ¸·Î º¯°æ(ÇÑ±Û Ä³¸¯ÅÍ ¼Â : KO16MSWIN949 , KO16KSC5601)
SQL> alter database character set internal_use KO16KSC5601;
¨î DB Á¤»ó Á¾·á
SQL> shutdown immediate;
¨ï DB Àç½ÃÀÛ
SQL> startup
¨ð ÆĶó¹ÌÅÍ ÆÄÀÏ Ä³¸¯Åͼ °ª ¾÷µ¥ÀÌÆ®
SQL> update sys.props$ set value$='KO16KSC5601' where name='NLS_CHARACTERSET';
SQL> update sys.props$ set value$='KO16KSC5601' where name='NLS_NCHAR_CHARACTERSET';
SQL> update sys.props$ set value$='AMERICAN_AMERICA.KO16KSC5601' where name='NLS_LANGUAGE';
3. º¯°æÇÑ Ä³¸¯ÅÍ ¼Â È®ÀÎ
SQL> select * from nls_database_parameters
where parameter = 'NLS_CHARACTERSET';
PARAMETER VALUE
------------------------------ --------------------
NLS_CHARACTERSET KO16KSC5601;
¶Ç´Â
SQL> select * from props$ where name='NLS_CHARACTERSET';
NAME VALUE$ COMMENT$
---------------------- --------------- -------------
NLS_CHARACTERSET KO16KSC5601 Character set
[Ãâó] ¿À¶óŬ ij¸¯ÅÍ ¼Â(CHARACTER SET) º¯°æÇϱâ(9i)|ÀÛ¼ºÀÚ Top Secret