General Question

onemorego's avatar

How can I dump an oracle schema to a LOCAL file over a network connection from sqlplus?

Asked by onemorego (2points) July 30th, 2009
2 responses
“Great Question” (0points)

Using sqlplus to connect to a database using tnsnames. I just want to dump the entire contents to a local file without doing something like connecting and spooling.

Topic:
Observing members: 0
Composing members: 0

Answers

hex's avatar

By connecting and spooling are you excluding the exp/imp commands (or expdb/impdb in 10g)?

GrimMeeper's avatar

I think exp is your best option. It is possible to use a SQL script to generate create table statements and then also insert statements, but this a horrendously long winded way to get this done.

Answer this question

Login

or

Join

to answer.

Mobile | Desktop


Send Feedback   

`