This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes java sql question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "java sql question" Watch "java sql question" New topic
Author

java sql question

nikil shar
Ranch Hand

Joined: May 25, 2008
Posts: 116
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

Joined: Dec 31, 2004
Posts: 961
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?


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java sql question
 
It's not a secret anymore!