Bookmark Topic Watch Topic
  • New Topic

problem in query using java code

 
Prasanna RamKumar
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Report post to moderator
i wrote query to select the words that start with the particular letter
iam giving through java code
it is showing errors
ResultSet rs = st.executeQuery
("select rootwords from wordlist where rootwords like '"+input%+"' ");


where input is the particular word iam getting from user
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36031
432
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Closing accidental duplicate thread.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!