access information in a mysql database

Posted on 2004-09-21
Last Modified: 2010-04-01
Hi, how can I perform the following query without an error being thrown?

ResultSet rs112 = stmt1.executeQuery("select names  from details d where completed like d.'no' and time like d.\""+time+"\" ");
Question by:VolSpeak
LVL 35

Accepted Solution

TimYates earned 80 total points
ID: 12111246
ResultSet rs112 = stmt1.executeQuery("select names  from details d where d.completed = 'no' and d.time = \""+time+"\"" );

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Export JSON response data to Excel in IE9 3 75
reflections, dynamic class loading 3 70
Spring MVC - sending raw charset to backend 3 202
iterator/ListIterator approach 17 27
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question