IMP-00016 Required Character Set Conversion Not Supported Error when Import to Oracle Database Malikot na bata-00016 Kinakailangan ng Character set ng Conversion Not Supported Error kapag-import sa Oracle Database
When trying to import an Oracle database export, backup or dump, you may encounter the error IMP-00016 where the import terminate prematurely and not allow you to continue the import to the destination Oracle database. Kapag sinusubukan mag-import ng isang i-export ang Oracle database, backup o tambakan ng basura, maari ninyong matagpuan ang error malikot na bata-kung saan 00,016 import ang tapusin prematurely at hindi daan sa iyo upang ipagpatuloy ang pag-import sa database Oracle destinasyon. The error has the following message: Ang error ay ang mga sumusunod na mensahe:
IMP-00016: required character set conversion (type 1 to 871) not supported Malikot na bata-00016: hingin character set ng conversion (uri ng 1-871) ay hindi suportado
IMP-00000: Import terminated unsuccessfully Malikot na bata-00000: Import tinapos unsuccessfully
Note that depending on your export file and database character set, the “type 178 to 871″ may change from each environment. Tandaan na depende sa iyong i-export ang file at database ng character set, ang "uri ng 178-871" ay maaaring magbago mula sa bawat kapaligiran. Other typical character set conversion not supported error include from type 178 to 871 or from type 31 to 871. Iba pang mga tipikal na character set ng conversion ay hindi suportado ng error isama mula sa uri ng 178-871 o mula sa uri ng 31-871.
The cause for the Oracle error is because import utility could not convert the character format of the export file into the native character format which is the setting of the operating system client. Ang dahilan para sa mga error sa Oracle ay dahil sa import ng utility ay hindi nagko-convert ang character ng format ng file na i-export sa mga katutubong format ng character na kung saan ay ang mga setting ng client operating system. In other world, the issue is due to the fact that there is conversion problem between the export dump file and the destination databases which have different character set value when Oracle import utility try to import the exported database by using the Unix's NLS_LANG local environment variable value. Sa ibang mundo, ang isyu ay dahil sa ang katunayan na ang may problema sa conversion sa pagitan ng mga i-export ang file na tambakan ng basura at ang destinasyon ng mga database na kung saan may iba't-ibang character set na halaga kapag ang Oracle-import ng utility na subukan mag-import ang mga nai-export na database sa pamamagitan ng paggamit ng Unix's NLS_LANG lokal na kapaligiran variable na halaga . If the operating system environment doesn't show the value of NLS_LANG, the import (and also export) will be done in US7ASCII as the default value for NLS_LANG on UNIX platforms is AMERICAN_AMERICA.US7ASCII, regardless of the database characterset. Kung ang mga operating system na kapaligiran ay hindi ipakita ang halaga ng NLS_LANG, ang import ng (at i-export din) ay ginawa sa US7ASCII bilang default na halaga para sa NLS_LANG sa UNIX platform ay AMERICAN_AMERICA.US7ASCII, kahit na ang database characterset.
The resolution to resolve the IMP-00016 is to set the the NLS_LANG parameter in local OS env variable value to match the character set of the destination database and import the dump file. Ang resolution upang malutas ang malikot na bata-00016 ay upang itakda ang NLS_LANG ang mga parameter sa mga lokal na OS env variable na halaga upang tumugma sa character set ng database destinasyon at import ang file na tambakan ng basura. NLS_LANG can be change by using set or export command. NLS_LANG ay maaaring baguhin sa pamamagitan ng paggamit itakda o i-export ang command. For example: Halimbawa:
$ export NLS_LANG=.WE8ISO8859P1 $ Export NLS_LANG =. WE8ISO8859P1
NLS_LANG is set in the registry on Windows platforms. NLS_LANG ay naka-set sa pagpapatala sa Windows platform. For example, on an English Windows client, the code page is WE8MSWIN1252. Halimbawa, sa isang client Ingles Windows, ang code sa pahina ay WE8MSWIN1252. An appropriate setting for NLS_LANG is AMERICAN_AMERICA.WE8MSWIN1252. Ang nararapat na setting para sa NLS_LANG ay AMERICAN_AMERICA.WE8MSWIN1252.
You can check the character sets of the Oracle database in SQL*Plus by using following commands to list all NLS information: Maaari mong i-tsek ang mga hanay ng character ng Oracle database sa SQL * Plus pamamagitan ng paggamit ng mga sumusunod na utos sa listahan ng lahat ng NLS na impormasyon:
SQL> col value format a25 SQL> col halaga ng format ng a25
SQL> col parameter format a25 SQL> col parameter na format ng a25
SQL> select * from v$nls_parameters; SQL> * piliin mula sa v $ nls_parameters;
In the rows returned, NLS_CHARACTERSET will list the character set of the database. Sa hanay naibalik, NLS_CHARACTERSET ay listahan ng mga character set ng database. In ideal situation to avoid and minimize the potential errors, the recommended practise will be like the following: Sa ideal na sitwasyon upang maiwasan at mabawasan ang mga potensyal na mga error, ang pinapayong manungkulan ay tulad ng mga sumusunod:
At the system where database export is taken: Set NLS_LANG=. Sa sistema na kung saan i-export ang database ay kinuha: Set NLS_LANG =. Set the operating system NLS_LANG value to match the source or destination database character set will let Oracle assumes that the data being sent or received is encoded in the same character set as the database character set, so no validation or conversion is performed. Itakda ang operating system NLS_LANG halaga upang tumugma sa source o destinasyon sa database ng character set ay magbibigay-daan Oracle assumes na ang data na ipinadala o natanggap ay naka-encode sa parehong character set na sa set na database ng character, kaya walang pagpapatunay o conversion ay gumanap. This can lead to corrupt data if the client code page and the database character set are different and conversions are necessary. Ito ay maaaring humantong sa mga corrupt na data kung ang mga client pahina code at ang database ng character set ay naiiba at conversion ay kinakailangan. It's more of an issue if source and destination databases have different character set, and source database contains special characters (for example chinese, japanese, spanish, german, special letters or other characters, which are not contained in US7ASCII), the target database will lose the original characters and show replacement characters instead. Ito ay higit pa sa isang isyu kung ang source at destination database may iba't-ibang character set, at source database na naglalaman ng mga espesyal na karakter (halimbawa Intsik, japanese, espanyol, aleman, mga espesyal na mga titik o iba pang mga karakter, na kung saan ay hindi nakapaloob sa US7ASCII), ang puntiryang database ay nawala ang orihinal na mga character at ipakita ang mga character kapalit sa halip. So, it's best if the source and destination database has the same or similar character set. Kaya, ito ay pinakamahusay na kung ang pinagmulan at patutunguhan database ay may parehong o katulad na mga character set. To check the character set that a dump export and its database is using, check the export log, the characterset information should exists at the beginning of the log: Upang tiyakin ang character set na ang isang tambakan ng basura i-export at sa kanyang database ay gamit, tingnan ang mag-log-export, ang characterset impormasyon ang dapat mayroon sa simula ng mag-log: Export done in US7ASCII character set and AL16UTF16 NCHAR character set I-export ang mga ginawa sa US7ASCII character set at AL16UTF16 NCHAR character set Similary, the import log will contain the information about what character set the import process is using and also for the target database, plus possible warning message, even if the import failed with IMP-00016 error, at the beginning of the import log: Similary, ang mga mag-log-import ay naglalaman ng mga impormasyon tungkol sa kung ano ang character set ang import ng proseso ay sa paggamit at din para sa mga database ng target, kasama ang mga posibleng babala na mensahe, kahit na-import ng mga bigo sa malikot na bata-00016 error, sa simula ng ang mag-log-import ng: import done in US7ASCII character set and AL16UTF16 NCHAR character set tapos na-import sa US7ASCII character set at AL16UTF16 NCHAR character set IMPORTANT : The page is machine translated and provided "as is" without warranty. MAHALAGA: Ang pahina ng makina ay isinalin at ibinigay "bilang ganito" walang warranty. Machine translation may be difficult to understand. Machine pagsasalin ay maaaring mahirap maintindihan. Please refer to Mangyaring sumangguni sa original English article orihinal na Ingles na artikulo whenever possible. hangga't maaari.
server uses WE8MSWIN1252 character set (possible charset conversion) server na gumagamit ng WE8MSWIN1252 character set (posibleng charset conversion)
import server uses UTF8 character set (possible charset conversion) import ng server ay gumagamit ng UTF8 character set (posibleng charset conversion)
export server uses UTF8 NCHAR character set (possible ncharset conversion) i-export ang server ay gumagamit ng UTF8 NCHAR character set (posibleng ncharset conversion) Related Articles Mga Kaugnay na Akda









































