The Artima Developer Community
Sponsored Link

Java Answers Forum
query sql

1 reply on 1 page. Most recent reply: Dec 13, 2006 7:34 AM by Matthias Neumair

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
dan ziv

Posts: 7
Nickname: j6df
Registered: Aug, 2006

query sql Posted: Dec 13, 2006 5:25 AM
Reply to this message Reply
Advertisement
query = "SELECT FILES.file FROM FILES,times where FILES.id = times.id AND FILES.country="+"'"+country+"'" +" AND FILES.name="+"'"+name+"'"+" AND FILES.food="+"'"+food+"'"+ " and "+"'"+ currentTime+"'" +" between times.startTime AND times.endTime";
//why I get an exception?


Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

Re: query sql Posted: Dec 13, 2006 7:34 AM
Reply to this message Reply
Is it really necessary posting the same stuff again in a new topic?

Which exception do you get?

Flat View: This topic has 1 reply on 1 page
Topic: query sql Previous Topic   Next Topic Topic: Using only 1 instance of an object

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use