File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes wildcard search Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "wildcard search" Watch "wildcard search" New topic

wildcard search

Vaibhav Chauhan
Ranch Hand

Joined: Aug 16, 2006
Posts: 115
please tell me how to to wildcard search using prepared statement .....what should be the query as ? looks for exact match of the word.....

please help me in this regard.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Include the wildcard parameter in your bind variable. i.e.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: wildcard search
It's not a secret anymore!