Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java sql question

 
nikil shar
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
was reading through someones java code and i don't really understand the sql which is being constructed below :



i know what the ? is for but what does the '%s' do ??


thanks in advance.
 
Edwin Dalorzo
Ranch Hand
Posts: 961
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps the code you mention was used in a Formatter.

For instance I could write somewhat like this:



Do you know if this is the case?


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic