aspose file tools*
The moose likes JDBC and the fly likes Copying a row from a table to another table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Copying a row from a table to another table" Watch "Copying a row from a table to another table" New topic
Author

Copying a row from a table to another table

Bernard Sigmund Gustav
Ranch Hand

Joined: Dec 20, 2005
Posts: 170
I just want to ask what the SQL statement is for
copying a entire row from one table to another table

what i'm currently doing in my java bean is to retrieve all the fields for a certain row from one table and then saving that again to another table

thanks
stu derby
Ranch Hand

Joined: Dec 15, 2005
Posts: 333
For tables A and B with columns a1, a2, b1 and b2...
Bernard Sigmund Gustav
Ranch Hand

Joined: Dec 20, 2005
Posts: 170
thanks a lot
it's working now
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Copying a row from a table to another table
 
Similar Threads
Only the first row gets copied
Insert a new row with values from an existing record
build a data entry sheet like spread-sheet
Please help with the 3 Hardest Javascript problems in the world
Save Or Update In Hibernate Always Updating