Home » RDBMS Server » Server Utilities » Scripts
Scripts [message #73588] Wed, 26 May 2004 07:22 Go to next message
arun
Messages: 67
Registered: January 2000
Member
hi,

Can i export data from one database to another using scripts, if yes what are the steps invloved.

Any help is greatly appreciated

Arun.
Re: Scripts [message #73601 is a reply to message #73588] Mon, 31 May 2004 06:04 Go to previous message
Tak Tang
Messages: 142
Registered: May 2004
Senior Member
If it was from one oracle database to another, I would set up a DATABASE LINK.

Alternatively, I would use SQL or PL/SQL to dump the data to a file . . .

http://asktom.oracle.com/~tkyte/flat/

. . . and then use SQL Loader (or External Tables in Oracle 9) to actually load the database.

If you are using Oracle 7, 8 or 9, and are not using LONGs or LOBs, you could use the COPY command in SQL*Plus. I think this has been deprecated in 10g.

Some third party tools (such as TOAD) have a feature to generate INSERT statements. These do work, but they are *terribly* slow.

Takmeister
Previous Topic: import and export -- advise needed urgently
Next Topic: Regarding Dos & SQL Environments
Goto Forum:
  


Current Time: Tue Jul 02 13:30:20 CDT 2024