This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

Do Any java Geniuse have an Idea on How I can do this???  RSS feed

john Phillips
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello all you java Geniuses.
I have been trying to do the following task for some time now
can anybody pls help me on how to go about it ,Here is the task
I want to insert all the selected records from tableA into tableB
both tables are in the same database and have the same table structure.
They both have about 6 columns each.I'm using a vector to store all the
results returned by table A ,then use a for loop to loop trough the vector
and at the same time convert the Vector to a String variable so that I can Insert them into TableB but I have a problem identifing each of the elements so as to know which one will be currently inserted into the right column out of the six columns on Table B.
Ernest Friedman-Hill
author and iconoclast
Posts: 24217
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't post the same question more than once -- especially since you've gotten a good answer already here. This just wastes other people's time. I'm going to close this thread; followups to the other one, please.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!