File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Take table backup without Select * into Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Take table backup without Select * into" Watch "Take table backup without Select * into" New topic
Author

Take table backup without Select * into

Tushar Londhe
Greenhorn

Joined: Jul 08, 2008
Posts: 3
Hi Guys,

I want to take backup of a table.
But I dont want to use Select * into, so is there any other query
which I can fire in order to get table backup.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37890
    
  22
Depending on your database program, you ought to have a dump utility. This example is for MySQL5.0.
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3700
    
    5

I don't understand, SELECT is the only query that reads data from the database, so unless you want to make a backup out of thin air, you'll need to use the SELECT command in some fashion or another.


My Blog: Down Home Country Coding with Scott Selikoff
 
Consider Paul's rocket mass heater.
 
subject: Take table backup without Select * into
 
Similar Threads
Table backup - programmatically using JDBC
Create table backup .............
Oracle10g express Editon database backup and recovery
Read calendar in Vcard format
Deleting Duplicate Rows.