dbTalk Databases Forums  

Unload data

comp.databases.oracle comp.databases.oracle


Discuss Unload data in the comp.databases.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tonik
 
Posts: n/a

Default Unload data - 05-27-2005 , 02:06 AM






I want to unload data from table in oracle to table in anothe
database,for example DB2

Can you help me with a sample code
thanks


Reply With Quote
  #2  
Old   
Primo¾ Govekar
 
Posts: n/a

Default Re: Unload data - 05-27-2005 , 06:05 AM






tonik wrote:
Quote:
I want to unload data from table in oracle to table in another
database,for example DB2.

Can you help me with a sample code?
thanks!

There should be some commercial/noncomercial programs on the market, but
only with PL/SQL I would make a SELECT that returns INSERT statements.
Something like bellow:

SELECT 'INSERT INTO table_name (col1int,col2varchar,...)
VALUES ('||col1int||','''||col2varchar||''',...);'
FROM table_name;

Depends also on number of tables to be transported (should be crazy when
more than 10 ;-)).

Regards
Primz


Reply With Quote
  #3  
Old   
dbaman
 
Posts: n/a

Default Oracle data unload into DB2 - 10-19-2005 , 02:11 AM



You need to unload data into portable text file
Use spool in oracle tounload
If Oracle tables are large,then you can try fastreade
www.wisdomforce.co

fastreader willautomatically create data loader to DB


Reply With Quote
Reply




Thread Tools
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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.