wood burning stoves*
The moose likes JDBC and the fly likes Need a Help!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Need a Help!!" Watch "Need a Help!!" New topic
Author

Need a Help!!

Ahamed Sharif
Ranch Hand

Joined: Aug 24, 2003
Posts: 47
Hi,
How can I Insert a value in one database table to another database table
using JDBC. Please any one have the SQL query like that, and how can I
do in Java.
Thanks,
Fyrose.
Ron Newman
Ranch Hand

Joined: Jun 06, 2002
Posts: 1056
Do a SELECT, get the value, and then do an INSERT. That seems pretty straighforward.


Ron Newman - SCJP 1.2 (100%, 7 August 2002)
 
Don't get me started about those stupid light bulbs.
 
subject: Need a Help!!
 
Similar Threads
Size of table
servlets/JSP
Moving columns between tables
Copying data from one DB to another
retrieve table name