Question

I am new to Oracle but experienced in MSSQL, I have dump file of an Oracle DB and I want to import both the schema and the data from this dump file to MSSQL. How do I create an MSSQL DB from an Oracle dump file?

Steps or a link to the right direction will be highly appreciated.

Thanks

Était-ce utile?

La solution

Assuming that the "dump file" you're referring to is a .dmp file that was created using either the classic or the DataPump version of the Oracle export utility (exp or expdp), what you have is an Oracle proprietary binary file format. It's not designed to be readable by anything other than Oracle's import utility (classic or DataPump depending on which version was used to create the file). There are some third party tools that claim to be able to read this particular file format and that would let you potentially create a database from a .dmp file but those are generally commercial products and I've never personally used them.

Were it me, assuming that you need to start from the .dmp file, I'd install an Oracle database, import the .dmp file into that Oracle database, and then use your ETL tool of choice (i.e. SSIS since you're experienced with SQL Server) to move the data from one database to the other. If it's an option, of course, you could connect directly to the actual source Oracle database rather than using the .dmp file to create a populate a newly created Oracle database.

If the "dump file" that you're referring to is something else (i.e. a plain text script of SQL statements), you may have a different set of options.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top