Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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: 34095
337
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