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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JSP Popup page 2 163
nested if has else if 13 99
eclipse buid path vs tomcat lib path 10 38
runtime exception 2 50
While it may be true that the internet is a place of possibilities, it is also a hostile environment lurking with many dangers. By clicking on the wrong link, trusting the wrong person or using a weak password, you are virtually inviting hackers to …
This article was originally published on Monitis Blog, you can check it  here . If you have responsibility for software in production, I bet you’d like to know more about it. I don’t mean that you’d like an extra peek into the bowels of the sour…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

733 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