Export to CSV or dump file

5 pts.
Tags:
CSV
Export
Oracle 10g
can any body guide how to export from command line in oracle 10g tables or db to CSV or dump file.
ASKED: March 29, 2008  12:07 PM
UPDATED: June 15, 2010  11:34 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can export both, database or specific tables to a dump file with the EXPORT utility.

You could use this syntax:

exp <username>@<host_string>/<password> file=<target_file_name> [tables=<comma_separated_list_of_Tables>]

for example:

– exports the complete database
exp scot@test_db/tiger file=database_backup.dmp

or

– export specific tables
exp scot@test_db/tiger file=database_backup.dmp tables=table_a,table_b,table_c

Many more parameters exist for the EXPORT utility. You might want to check the documentation.

Regards,

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following