File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Need a Help!!" Watch "Need a Help!!" New topic

Need a Help!!

Ahamed Sharif
Ranch Hand

Joined: Aug 24, 2003
Posts: 47
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.
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)
jQuery in Action, 3rd edition
subject: Need a Help!!
It's not a secret anymore!