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 Results Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Results Help" Watch "Results Help" New topic

Results Help

Josh Batchelor

Joined: Dec 18, 2001
Posts: 9
Is there a way to set strings and value based on what comes out of the database?
PHN_NMBR = 5555555555
String phone_name = rs_pt.getString("PHN_NMBR_TYP_NM");
String phone_number = rs_pt.getString("PHN_NMBR");
So what I want to do is make String Home = 5555555555
Hope that made sense.
subject: Results Help
It's not a secret anymore!