Go Back  IT Forums > Software > Oracle
User Name
Password
Reply
 
Thread Tools Search this Thread Display Modes

Data export from oracle 10G to SqlServer 2000
  #1
Old 08-06-2006, 10:57 PM
Guest
Guest


Guest's Info
Posts: n/a
Default Data export from oracle 10G to SqlServer 2000

I need to transfer data on daily basis from an oracle 10g database
running on Linux to the sql Server 2000 database.For that I need first
to get my query output from oracle into flat file and then bulkinsert
that file into sqlserver 2000.
I just read about Oracle Data Pump which could be used for Bulk Export
..I need to know how could I use data pump to get data out from oracle.

Reply With Quote
Data export from oracle 10G to SqlServer 2000
  #2
Old 08-07-2006, 02:07 AM
gazzag
Junior Member


gazzag is offline
gazzag's Info
Join Date: Jan 2006
Posts: 21
Default Data export from oracle 10G to SqlServer 2000

aamir.majeed@gmail.com wrote:
Quote:
I need to transfer data on daily basis from an oracle 10g database running on Linux to the sql Server 2000 database.For that I need first to get my query output from oracle into flat file and then bulkinsert that file into sqlserver 2000. I just read about Oracle Data Pump which could be used for Bulk Export .I need to know how could I use data pump to get data out from oracle.


I'd look into Oracle Heterogeneous Connectivity if I were you. You can
send the data from Oracle to SQL Server without the need for extracting
it to file first:

http://download-uk.oracle.com/docs/.../b14232/toc.htm

HTH

-g

Reply With Quote
Data export from oracle 10G to SqlServer 2000
  #3
Old 08-07-2006, 02:30 AM
Guest
Guest


Guest's Info
Posts: n/a
Default Data export from oracle 10G to SqlServer 2000

Actually I did such work between two SqlServers but what I felt that it
is more efficient to
take data out from database in file and then insert that files on
database.

Rgrds
gazzag wrote:
Quote:
aamir.majeed@gmail.com wrote:
Quote:
I need to transfer data on daily basis from an oracle 10g database running on Linux to the sql Server 2000 database.For that I need first to get my query output from oracle into flat file and then bulkinsert that file into sqlserver 2000. I just read about Oracle Data Pump which could be used for Bulk Export .I need to know how could I use data pump to get data out from oracle.
I'd look into Oracle Heterogeneous Connectivity if I were you. You can send the data from Oracle to SQL Server without the need for extracting it to file first: http://download-uk.oracle.com/docs/.../b14232/toc.htm HTH -g


Reply With Quote
Data export from oracle 10G to SqlServer 2000
  #4
Old 08-07-2006, 04:50 AM
sybrandb
Junior Member


sybrandb is offline
sybrandb's Info
Join Date: Jul 2006
Posts: 5
Default Data export from oracle 10G to SqlServer 2000


aamir.majeed@gmail.com wrote:
Quote:
Actually I did such work between two SqlServers but what I felt that it is more efficient to take data out from database in file and then insert that files on database. Rgrds



Any benchmarks to support this assertion?
To me using flat files would typically be much slower, and more
dangerous.
Disk volumes can fill up. This is one of the typical actions that would
fill up a disk volume, especially if you don't clean up your
'temporary' files.

--
Sybrand Bakker
Senior Oracle DBA

Reply With Quote
Data export from oracle 10G to SqlServer 2000
  #5
Old 08-07-2006, 05:36 AM
Brian Peasland
Junior Member


Brian Peasland is offline
Brian Peasland's Info
Join Date: Jul 2006
Posts: 9
Default Data export from oracle 10G to SqlServer 2000

aamir.majeed@gmail.com wrote:
Quote:
I need to transfer data on daily basis from an oracle 10g database running on Linux to the sql Server 2000 database.For that I need first to get my query output from oracle into flat file and then bulkinsert that file into sqlserver 2000. I just read about Oracle Data Pump which could be used for Bulk Export .I need to know how could I use data pump to get data out from oracle.


I'd use DTS for this operation. Write a DTS package to query the Oracle
database through ODBC and pull the data into SQL Server....

Cheers,
Brian



--
================================================== =================

Brian Peasland
dba@nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Reply With Quote
Data export from oracle 10G to SqlServer 2000
  #6
Old 08-07-2006, 05:58 AM
DA Morgan
Junior Member


DA Morgan is offline
DA Morgan's Info
Join Date: May 2005
Posts: 474
Default Data export from oracle 10G to SqlServer 2000

Brian Peasland wrote:
Quote:
aamir.majeed@gmail.com wrote:
Quote:
I need to transfer data on daily basis from an oracle 10g database running on Linux to the sql Server 2000 database.For that I need first to get my query output from oracle into flat file and then bulkinsert that file into sqlserver 2000. I just read about Oracle Data Pump which could be used for Bulk Export .I need to know how could I use data pump to get data out from oracle.
I'd use DTS for this operation. Write a DTS package to query the Oracle database through ODBC and pull the data into SQL Server.... Cheers, Brian


I agree.

To the OP: But given ODBC there is nothing you can do in SQL Server
that can't be done in Oracle without moving the data ... so what's
the point of moving it? Why not just leave it where it is.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Reply With Quote
Data export from oracle 10G to SqlServer 2000
  #7
Old 08-07-2006, 01:44 PM
Sybrand Bakker
Junior Member


Sybrand Bakker is offline
Sybrand Bakker's Info
Join Date: Feb 2004
Posts: 117
Default Data export from oracle 10G to SqlServer 2000

On 7 Aug 2006 03:30:46 -0700, aamir.majeed@gmail.com wrote:
Quote:
Actually I did such work between two SqlServers but what I felt that itis more efficient totake data out from database in file and then insert that files ondatabase.Rgrds


Please do this forum a favor and stop top-posting (ie replying above
the original text, while humans happen to read from top to bottom).

Also please explain why using flat files is more efficient, and
substantiate your assertion with benchmarks.
I you can't substantiate your assertion, please take it back.

--
Sybrand Bakker, Senior Oracle DBA
Reply With Quote
Data export from oracle 10G to SqlServer 2000
  #8
Old 08-12-2006, 09:27 PM
Guest
Guest


Guest's Info
Posts: n/a
Default Data export from oracle 10G to SqlServer 2000

No, Oracle Data Pump will not work since the output format is still
binary like in Oracle export.
In case amounts of data to be transfered not that large DTS will work
fine though.

wisdomforce fastreader could be a tool when there is a need to scale up
with data size or increase speed


aamir.majeed@gmail.com wrote:
Quote:
I need to transfer data on daily basis from an oracle 10g database running on Linux to the sql Server 2000 database.For that I need first to get my query output from oracle into flat file and then bulkinsert that file into sqlserver 2000. I just read about Oracle Data Pump which could be used for Bulk Export .I need to know how could I use data pump to get data out from oracle.


Reply With Quote
Data export from oracle 10G to SqlServer 2000
  #9
Old 09-28-2006, 01:34 PM
Robbert van der Hoorn
Junior Member


Robbert van der Hoorn is offline
Robbert van der Hoorn's Info
Join Date: Sep 2006
Posts: 13
Default Data export from oracle 10G to SqlServer 2000


"Sybrand Bakker" <gooiditweg@nospam.demon.nl> schreef in bericht
news:ftcfd25onp3g8treln64k95nqfug4auub6@4ax.com...
Quote:
On 7 Aug 2006 03:30:46 -0700, aamir.majeed@gmail.com wrote:
Quote:
Actually I did such work between two SqlServers but what I felt that itis more efficient totake data out from database in file and then insert that files ondatabase.Rgrds
Please do this forum a favor and stop top-posting (ie replying above the original text, while humans happen to read from top to bottom). Also please explain why using flat files is more efficient, and substantiate your assertion with benchmarks. I you can't substantiate your assertion, please take it back. -- Sybrand Bakker, Senior Oracle DBA


Sybrand,

Efficiency is not always about speed, space and benchmarks. It's also about
having to download/buy and install tools, learning how to use them etc.
OP said he FELT that it's more efficient. You can't take back a feeling
(nice title for a song...).
Intermediate files can help to break up the process in verifiable steps, and
prevent having to do the work all over when something fails in the end. And
above all: they will give a snapshot of a situation at a certain (fixed)
time, so if something fails, the process can be repeated with the same data,
without stressing the source DB again (snaphots, materialized views are
also an option). I feel like I agree with aamir here.

aamir:

If you want a 'direct' copy:
Oracle HS (Heterogenic Services) might help here. They are not too easy to
install though (but once it works, it looks simple in retrospective) and are
mostly based on ODBC. They help in a way that the 'opposite' database will
show as an Oracle DB to your source DB, and for example, you can copy your
data over a database link.

Robbert van der Hoorn


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Style Design by vBStyles.com


Top Contact Us - IT Forums - Archive - MyLounge Top
MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service