Sudhanshum
asked on
11G to 9i import table not working
I tried to export 11G table and want to import that table but getting error.
On 11G database I have used below command:
exp SCHEMA1/password@DB1File=H ISTORYDATA .dmp log=HISTORYDATA.log tables=(HISTORYDATA)
AND Tried to import that on 9i database using below command but getting error.
imp SCHEMA2/Password@DB2File=H ISTORYDATA .dmp FromUser=Schema1 ToUser=Schema2 tables=(HISTORYDATA)
and error is Not a vaild export file, header failed verification
Please help me to give solution.
On 11G database I have used below command:
exp SCHEMA1/password@DB1File=H
AND Tried to import that on 9i database using below command but getting error.
imp SCHEMA2/Password@DB2File=H
and error is Not a vaild export file, header failed verification
Please help me to give solution.
ASKER
what is 9i export against the 11g database.?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you might be able to setup a database link to the 9i
or you'll have a lot of work:
https://docs.oracle.com/database/121/SUTIL/GUID-F8DEC519-5868-42C3-AD7A-7FA28F82983A.htm#SUTIL2857
or you'll have a lot of work:
https://docs.oracle.com/database/121/SUTIL/GUID-F8DEC519-5868-42C3-AD7A-7FA28F82983A.htm#SUTIL2857
slightwv is correct - you always have to export with the lowest exp version of source and target, and import with the target one. More recent imp's can read older formats, but not vice versa.
Otherwise, you can use SQL*Developer to create a CSV file or INSERT statements, as you only want to export content of a single table.
Otherwise, you can use SQL*Developer to create a CSV file or INSERT statements, as you only want to export content of a single table.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If that fails, you can try going through an intermediate 10g database or use spool to generate CSV and SQL*Loader.