File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Results Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Results Help" Watch "Results Help" New topic
Author

Results Help

Josh Batchelor
Greenhorn

Joined: Dec 18, 2001
Posts: 9
Is there a way to set strings and value based on what comes out of the database?
Example:
PHN_NMBR_TYP_NM = Home
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.
 
wood burning stoves
 
subject: Results Help
 
Similar Threads
Java Home????
Tokenizing
Moving from Python to Java - list question
Creating Jibx Bindings for Ambiguous XML
StringTokenizer