• Status: Solved
  • Priority: High
  • Security: Public
  • Views: 46
  • Last Modified:

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=HISTORYDATA.dmp log=HISTORYDATA.log tables=(HISTORYDATA)

AND Tried to import that on 9i database using below command but getting error.
imp SCHEMA2/Password@DB2File=HISTORYDATA.dmp FromUser=Schema1 ToUser=Schema2 tables=(HISTORYDATA)
and error is Not a vaild export file, header failed verification

 Please help me to give solution.
2 Solutions
slightwv (䄆 Netminder) Commented:
If it will connect, which I doubt, I believe you have to use the 9i export against the 11g database.

If that fails, you can try going through an intermediate 10g database or use spool to generate CSV and SQL*Loader.
SudhanshumAuthor Commented:
what is 9i export against the 11g database.?
slightwv (䄆 Netminder) Commented:
Yes, going from memory but I remember you have to use the lower version of export.  9i has no way of knowing what the 11g export file looks like.

I really doubt the 9i export will connect to an 11g database but you can try.
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

Geert GOracle dbaCommented:
you might be able to setup a database link to the 9i

or you'll have a lot of work:
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
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.
Mark GeerlingsDatabase AdministratorCommented:
"what is 9i export against the 11g database?"
That is using your Oracle9i software to connect to the Oracle11g database and running the export from your Oracle9i executables.  If these two databases are on the same network, that will work if you add an entry in the tnsnames.ora file on the Oracle9i server for the Oracle11 database.

If these two Oracle databases though are on separate networks and you cannot ping one from the other, then you have to use one of the options that others have already mentioned here.

Oracle has never supported taking an export from a higher database version and importing that into a lower database version.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now