IMP-00016 Required Character Set Conversion Not Supported Error when Import to Oracle Database IMP-00016 richieste di conversione set di caratteri non supportato errore quando l'importazione di database 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. Quando si tenta di importare un database Oracle esportazione, backup o di discarica, si potrebbe incontrare l'errore IMP-00016 dove l'importazione terminare prematuramente e non ti permettono di continuare l'importazione verso la destinazione database Oracle. The error has the following message: L'errore è il seguente messaggio:
IMP-00016: required character set conversion (type 1 to 871) not supported IMP-00016: richieste di conversione set di caratteri (tipo 1 a 871) non sono supportate
IMP-00000: Import terminated unsuccessfully IMP-00000: Import denunciato invano
Note that depending on your export file and database character set, the “type 178 to 871″ may change from each environment. Si noti che a seconda del file di esportazione e di database set di caratteri, il "tipo da 178 a 871" può cambiare da ogni ambiente. Other typical character set conversion not supported error include from type 178 to 871 or from type 31 to 871. Altro tipico di conversione set di caratteri non supportato errore da includere tipo da 178 a 871 o dal tipo da 31 a 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. La causa per l'errore di Oracle è dovuto al fatto che l'utilità di importazione potrebbe non convertire il formato carattere del file di esportazione nel formato nativo di caratteri che è l'impostazione del sistema operativo client. 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. In altre parti del mondo, il problema è dovuto al fatto che non vi è problema di conversione tra le file di esportazione e la destinazione banche dati che sono diversi set di caratteri quando il valore di Oracle importazione di utilità tenta di importare i dati esportati utilizzando Unix della NLS_LANG ambiente locale valore della variabile. 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. Se l'ambiente di sistema operativo non mostra il valore di NLS_LANG, l'importazione (e anche l'esportazione) sarà effettuata in US7ASCII come il valore predefinito per NLS_LANG su piattaforme UNIX è AMERICAN_AMERICA.US7ASCII, indipendentemente dalla banca dati 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. La risoluzione per risolvere il IMP-00016 è quello di impostare il parametro della NLS_LANG locali OS env valore della variabile in modo che corrisponda al set di caratteri del database di destinazione e importare il file. NLS_LANG can be change by using set or export command. NLS_LANG cambiamento può essere impostato utilizzando il comando o l'esportazione. For example: Ad esempio:
$ export NLS_LANG=.WE8ISO8859P1 $ Export NLS_LANG =. WE8ISO8859P1
NLS_LANG is set in the registry on Windows platforms. NLS_LANG è impostato nel Registro di sistema su piattaforme Windows. For example, on an English Windows client, the code page is WE8MSWIN1252. Ad esempio, in lingua inglese su un client Windows, il codice pagina è WE8MSWIN1252. An appropriate setting for NLS_LANG is AMERICAN_AMERICA.WE8MSWIN1252. L'impostazione appropriata per NLS_LANG è 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: È possibile controllare il set di caratteri del database Oracle in SQL * Plus utilizzando i seguenti comandi per vedere tutti gli NLS informazioni:
SQL> col value format a25 SQL> col valore formato A25
SQL> col parameter format a25 SQL> col parametro formato 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. In righe restituite, NLS_CHARACTERSET, vengono elencati i set di caratteri del database. In ideal situation to avoid and minimize the potential errors, the recommended practise will be like the following: Nella situazione ideale per evitare e ridurre al minimo i potenziali errori, la pratica raccomandata sarà come la seguente:
At the system where database export is taken: Set NLS_LANG=. Al sistema di banca dati in cui esportazione è presa: Impostare 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. Impostare il sistema operativo NLS_LANG valore di eguagliare la sorgente o di destinazione set di caratteri del database consente di Oracle si assume che i dati inviati o ricevuti è codificata nello stesso set di caratteri come il database set di caratteri, in modo non convalida o di conversione è effettuata. This can lead to corrupt data if the client code page and the database character set are different and conversions are necessary. Questo può portare alla corruzione dei dati se la pagina codice cliente e la banca dati set di caratteri sono diversi e le conversioni sono necessarie. 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. È più di un problema, se di origine e di destinazione hanno diverse basi di dati set di caratteri, e la fonte banca dati contiene caratteri speciali (per esempio cinese, giapponese, spagnolo, tedesco, speciale lettere o altri caratteri, che non sono contenute in US7ASCII), l'obiettivo banca dati perdere l'originale mostra caratteri e caratteri invece di sostituzione. So, it’s best if the source and destination database has the same or similar character set. Quindi, è meglio se la fonte e il database di destinazione ha le stesse o simili set di caratteri. 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: Per controllare il set di caratteri che una discarica di esportazione e la sua banca dati è l'uso, controllare l'esportazione di log, l'informazione deve characterset esiste all'inizio del log: Export done in US7ASCII character set and AL16UTF16 NCHAR character set Export fatto in US7ASCII set di caratteri e AL16UTF16 NCHAR set di caratteri 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: Analogamente, l'importazione di registro conterrà le informazioni sui set di caratteri quali il processo di importazione sta usando e anche per il database target, più possibile messaggio di avviso, anche se l'importazione non riuscita con IMP-00016 errore, all'inizio del registro di importazione: import done in US7ASCII character set and AL16UTF16 NCHAR character set importazione fatto in US7ASCII set di caratteri e AL16UTF16 NCHAR set di caratteri IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una macchina tradotto pagina che è fornito "così come sono" senza garanzia. Machine translation may be difficult to understand. La traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale in inglese whenever possible. ogniqualvolta ciò sia possibile. Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e contribuire a My Digital Life Forums La mia vita digitale forum .
server uses WE8MSWIN1252 character set (possible charset conversion) server utilizza WE8MSWIN1252 set di caratteri (charset possibile conversione)
import server uses UTF8 character set (possible charset conversion) importazione server utilizza UTF8 set di caratteri (charset possibile conversione)
export server uses UTF8 NCHAR character set (possible ncharset conversion) esportazione server utilizza UTF8 NCHAR set di caratteri (possibile ncharset conversione)
Related Articles Articoli correlati
































