The Oracle database impdp import database version and the dmp database file version do not match the solution to the problem, the ORA-39142 version number is incompatible, and the ORA-39000 dump file explains the error solution

Insert picture description here
Solution 1:
Specify the version when exporting, and the specified version is consistent with the version number to be imported.

expdp ncc_auto/1@orcl directory=dir_dp schemas=ncc_auto dumpfile=ncc_auto.dmp version=11.2

select * from v$versionYou can query the database version.
Insert picture description here
Solution 2:
Modify the version number of the dmp file directly , but there will be garbled characters later.
If the dmp file is relatively large, the general text editor cannot edit it, so I recommend the ultraedit tool.

How to obtain and use the tool: Obtain and use the
ultraedit large file editor.
Just change the version number in the dmp file to the same as this one, just change the position at the beginning as shown in the figure.
Insert picture description here
Like it if you like it ❤!

Guess you like

Origin blog.csdn.net/qq_38161040/article/details/108127848