Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export all database tables data to a file.

Status
Not open for further replies.

whloo

Programmer
Apr 14, 2003
168
SG
Hi,

I have a DB with many tables in it.
I try to export all of my tables data out.
What i do now is to export table data one by one.
Is there a way for me to export all tables data at once?
Like i have a script file that contain all the tables data?
Because by using my current way, that's mean i will have 20 files to contain 20 tables data :(
Thanks!

Regards,
weihann.
 
You could copy them together at the end using a batch file; copy a + b + c + d bigfile

Sometimes the grass is greener on the other side because there is more manure there - original.
 
hi johnherman,

thanks for ur reply. so, based on ur answer there is no way for me to use a single action to export all of my tables data right?
hence, i need to export one by one?
for your suggestion, what is the batch command that i need to use? lets say i have table1, table2, table3 and table4 files that contain data for 4 tables?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top