Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Copying a row from a table to another table  RSS feed

 
Bernard Sigmund Gustav
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For tables A and B with columns a1, a2, b1 and b2...
 
Bernard Sigmund Gustav
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot
it's working now
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!