A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
JDBC and Relational Databases
Doubt in retrieving data
Arun Kumar Gaddam
Joined: May 05, 2007
Oct 24, 2007 09:41:00
String vsql="select * from phoneproj where cont_name= __________";
Statement stmt= con.createStatement();
ResultSet rs= stmt.executeQuery(vsql);
Now what can i add in the blank to retrieve data whose contact name is Arun.
i can't able to write .....any one please help......thanks in advance
Joined: Feb 08, 2007
Oct 24, 2007 09:48:00
"select * from phoneproj where cont_name='"+check+"'";
SCJP 1.4 & 1.5, SCWCD 1.5. Learn and Let Learn.
I agree. Here's the link:
subject: Doubt in retrieving data
getting errors in tomcat server
Oracle 10g portal.
error in executing the jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015