Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
    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
Marshal
Posts: 34375
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Closing accidental duplicate thread.
 
    Bookmark Topic Watch Topic
  • New Topic