Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: deep copy of complex database tables

by Thilosophy (Curate)
on Jun 21, 2005 at 11:04 UTC ( #468626=note: print w/ replies, xml ) Need Help??

in reply to deep copy of complex database tables

You may want to look at Oracle-supplied utitilies, in particular exp, which dumps consistent snapshots of parts (or the whole) of the database. You can then later import these with the imp utility.

If you are only concerned with a few tables, you can just do something like the following (which would also work across database links if you set those up):

create table testschema.blah as select * from realschema.blah;

What do you mean by "complex" tables that need a "deep copy"?

Comment on Re: deep copy of complex database tables
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://468626]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2015-11-27 20:42 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (732 votes), past polls