Chinese data garbled by sqlldr

Source: Internet
Author: User

Chinese data garbled by sqlldr

When data is installed on the test machine, all Chinese fields are changed ???????, Character Set Problems

Change UPDATE sys. props $ set value $ = 'we8iso8859p1 'where name like 'nls %' and value $ = 'zhs16gbk'; commit; the SQL * Loader-704 error is reported when sqlldr collects data: internal error: ulmtsyn: OCIStmtExecute (tabhp) [6552] ORA-06552: PL/SQL: Compilation unit analysis terminatedORA-06553: PLS-553: character set name is not recognized. After checking the information, you can find that you still need to set the database to RESTRICTED mode when setting the character set. After performing the following operations, sqlldr collection is normal> startup mount; ORACLE instance started. total System Global Area 76619308 bytes Fixed Size 454188 bytes Variable Size 58720256 bytes Database Buffers 16777216 bytes Redo Buffers 667648 bytes Database mounted. SQL> alter session set SQL _TRACE = TRUE; Session altered. 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> set linesize 120 SQL> ALTER DATABASE CHARACTER SET ZHS16GBK; ORA-12712: new character set must be a superset of old character setRROR at line 1:

> Alter database character set INTERNAL_USE zhs16gbk;

> Alter session set SQL _TRACE = FALSE;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.