?
Solved

Oracle Dump Files and SQL Server

Posted on 2003-11-12
9
Medium Priority
?
3,617 Views
Last Modified: 2008-03-03
Hi, I have a few questions about Oracle dumps.  I'm receiving a .dmp file that eventually needs to get imported into SQL Server... right now, we have to use a third party tool to "undump" the oracle file and get the tables that are associated with the dump.  My first question is, can you create a dump file and include the column headers?  Right now we're not getting any kind of schema included in the dump, just the raw data.  

Secondly, is there some way that I can read the .dmp file in SQL Server?  Or are dump files specific to only the platform from which they came?  I can get SQL to run a command line shell and run the tool to "undump" the oracle file, but just wondered if there was an easier way to do it.  

I am totally unfamiliar with the dump process from Oracle... so any help would be greatly appreciated.

Thanks,
Roxanne
0
Comment
Question by:Roxanne25
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 
LVL 23

Accepted Solution

by:
seazodiac earned 1500 total points
ID: 9734760
My first question is, can you create a dump file and include the column headers?  Right now we're not getting any kind of schema included in the dump, just the raw data.  


---> Oracle dump file actually include all the table schema and data (so it includes column header). but to read it in its entirety, you have to read it in with Oracle IMP too (since the dump file is generated from ORacle EXP tool). Of course you can use third party tool (they are developed mostly on OCI API) , but they might miss one function or two. I think this is what happened to you.


Secondly, is there some way that I can read the .dmp file in SQL Server?  Or are dump files specific to only the platform from which they came?  I can get SQL to run a command line shell and run the tool to "undump" the oracle file, but just wondered if there was an easier way to do it.  

---->No you cannot read dump file directly to SQL server since they are differnt lines of products. I believe, anoither alternative is that you can install an oracle database to import the dump file and then migrate all the schema to SQL Server ( I did schema migration from SQL Server to oracle and vice versa ). It works. I don't know if this is the easiest approach.

0
 

Author Comment

by:Roxanne25
ID: 9734797
Ok, thanks... that does help.  That is probably why we are not getting the header and schema information.  How do I get the Oracle IMP tool?  
0
 

Author Comment

by:Roxanne25
ID: 9734808
Oh sorry, and does the export automatically put the header and stuff in the dump or is it an option that you have to select?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 8

Expert Comment

by:Danielzt
ID: 9734984
I suppose you try this way:

1: import the Oracle dump into a Orale database.
   That's easy. you can find many awswer in this site.

2: You can try to use SQL Server(MS SQL Server, if you are use Sybase SQL Server, forget about this way) enterprise to import date from Oracle date base into MS Sql Server database.
   You can create a data source to Oracle via ODBC. then use DTS to do it.

   
   
0
 

Author Comment

by:Roxanne25
ID: 9735376
I can't import the data into an Oracle database.  I work for a very large organization and I only have access in SQL Plus to query tables... I have no adminstrative rights at all.  Which is why we were using the third party tool to unpack the dump.  There is no way to use the Oracle import tool on the side or from a client side?
0
 
LVL 23

Expert Comment

by:seazodiac
ID: 9735577
that's correct. There is NO way to use imp on the client side.
0
 
LVL 23

Expert Comment

by:seazodiac
ID: 9735583
you can install a personal edition Oracle database on your PC, and then import to your PC.
then migrate the data to SQL Server.
0
 

Author Comment

by:Roxanne25
ID: 9735592
Oh, that sounds good... where can I get that?
0
 
LVL 23

Expert Comment

by:seazodiac
ID: 9735838
you can download from oracle website. www.oracle.com

you probably need to register it but it's free.
http://otn.oracle.com/software/index.html
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question