IMP-00016 Required Character Set Conversion Not Supported Error when Import to Oracle Database IMP-00016 Privalomas Character Set konversijos Not Supported klaidą Importas į duomenų bazę Oracle
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. Kai bandote importuoti duomenų bazę Oracle eksporto, kopijavimas ar sąvartynas gali pasitaikyti klaidų IMP-00016, kur importo nutraukti anksčiau laiko ir neleidžia tęsti importą paskirties Oracle "duomenų bazės. The error has the following message: Klaidos pranešimą:
IMP-00016: required character set conversion (type 1 to 871) not supported IMP-00016: Reikalinga simbolių rinkinys pertvarkymo (tipas 1-871) nėra palaikoma
IMP-00000: Import terminated unsuccessfully IMP-00000: Importas baigta nesėkmingai
Note that depending on your export file and database character set, the “type 178 to 871″ may change from each environment. Atkreipkite dėmesį, kad priklausomai nuo eksporto dokumentų ir duomenų bazės simbolių rinkinys, "tipo 178-871" gali būti pakeisti iš kiekvienos aplinkai. Other typical character set conversion not supported error include from type 178 to 871 or from type 31 to 871. Kitas būdingas požymis nustatytas perskaičiavimo nepalaikomas klaida yra iš tipo 178-871 arba iš tipo 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. Dėl "Oracle" klaidų priežastis yra dėl importo nauda negali konvertuoti simbolių formato failą eksportui į gimtąją savybių forma, kuri yra operacinės sistemos kliento aplinkoje. 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. Kitose pasaulio problema yra dėl to, kad yra konvertavimo problemų tarp eksporto dempingo bylą ir paskirties duomenų bazių, kurios skiriasi ženklų rinkinio vertę, kai "Oracle" importo komunalinių bandyti importuoti eksportuoti duomenų bazės, naudojant Unix's NLS_LANG vietos aplinkos kintamojo vertė . 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. Jei operacinės sistemos aplinkoje, neįrodo, kad NLS_LANG, importui (ir eksportui) bus padaryta US7ASCII kaip numatytoji vertė NLS_LANG UNIX platformose vertė AMERICAN_AMERICA.US7ASCII, neatsižvelgiant į duomenų bazės 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. SPRENDIMAS IMP-00016 yra nustatytas parametras NLS_LANG vietinės Balys ENV kintamojo vertė atitiktų simbolių rinkiniu paskirties duomenų bazę ir importo dempingo bylą. NLS_LANG can be change by using set or export command. NLS_LANG galima keisti naudojant nustatyti ar eksporto komandą. For example: Pavyzdžiui
$ export NLS_LANG=.WE8ISO8859P1 $ Eksporto NLS_LANG =. WE8ISO8859P1
NLS_LANG is set in the registry on Windows platforms. NLS_LANG yra nustatytas ant platformos Windows registre. For example, on an English Windows client, the code page is WE8MSWIN1252. Pavyzdžiui, anglų Windows kliento kodą puslapis WE8MSWIN1252. An appropriate setting for NLS_LANG is AMERICAN_AMERICA.WE8MSWIN1252. Tinkamas nustatymas NLS_LANG yra 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: Galite patikrinti simbolių rinkinius, Oracle duomenų bazės SQL * Plus ", naudojant šių komandų sąrašą visų NLS informacija:
SQL> col value format a25 SQL> col vertė formatas A25
SQL> col parameter format a25 SQL> col parametro formatas A25
SQL> select * from v$nls_parameters; SQL> SELECT * FROM V $ nls_parameters;
In the rows returned, NLS_CHARACTERSET will list the character set of the database. Į eilutės grįžo NLS_CHARACTERSET bus sąraše simbolių rinkinys iš duomenų bazės. In ideal situation to avoid and minimize the potential errors, the recommended practise will be like the following: Be ideali situacija, siekiant išvengti ir sumažinti galimų klaidų, rekomenduojama praktika bus atrodo taip:
At the system where database export is taken: Set NLS_LANG=. Ne sistema, kurioje duomenų bazėje eksporto priemonės: Nustatyti 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. Nustatyti Operacinė sistema NLS_LANG vertės rungtynės šaltinį arba paskirties vietą bazėje simbolių rinkinys leis "Oracle" reiškia, kad duomenys būtų išsiųstas ar gautas yra užkoduota pačioje simbolių rinkinys, kaip duomenų bazę simbolių rinkinys, todėl jokių patvirtinimo ar pakeitimo pobūdį. This can lead to corrupt data if the client code page and the database character set are different and conversions are necessary. Tai gali būti pažeistas duomenų, jei klientas puslapio kodą ir duomenų bazėje simbolių rinkinys yra skirtingi ir konversijos yra būtina. 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. Tai daugiau klausimu, jei šaltinio ir paskirties duomenų bazių įvairių ženklų rinkinys, o šaltinio duomenų bazės, yra specialių simbolių (pvz., kinų, japonų, ispanų, vokiečių, specialios raidės ar kiti simboliai, kurie neminimi US7ASCII), tikslines duomenų bazė Prarasti originalas simbolių rodyti simbolius pakeitimas vietoj. So, it's best if the source and destination database has the same or similar character set. Taigi, geriausia, jei šaltinio ir paskirties duomenų bazėje yra tokios pačios ar panašios simbolių rinkinį. 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: Norėdami patikrinti simbolių rinkinys, kad sąvartynas eksporto ir naudojasi savo duomenų baze, tikrinti eksporto žurnale characterset informacija turėtų egzistuoja žurnalo pradžia: Export done in US7ASCII character set and AL16UTF16 NCHAR character set Eksportas padaryti US7ASCII simbolių rinkinį ir AL16UTF16 NCHAR simbolių rinkinys 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: Panašiai, importo žurnalas yra apie ką pobūdžio informaciją, nurodytą importo procesas, naudojant, taip pat tikslines duomenų bazėje, taip pat galimą įspėjamąjį laišką, net jei importo nepavyko IMP-00016 klaida, ne nuo importo Prisijungti pradžia: import done in US7ASCII character set and AL16UTF16 NCHAR character set importo padaryti US7ASCII simbolių rinkinį ir AL16UTF16 NCHAR simbolių rinkinys IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.
server uses WE8MSWIN1252 character set (possible charset conversion) serveris WE8MSWIN1252 simbolių rinkinį (galima charset conversion)
import server uses UTF8 character set (possible charset conversion) importo serveris UTF8 simbolių rinkinį (galima charset conversion)
export server uses UTF8 NCHAR character set (possible ncharset conversion) eksporto serveris UTF8 NCHAR simbolių rinkinys (galima ncharset konversija) Related Articles Susiję straipsniai









































