Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search Query Help

Status
Not open for further replies.

MayoorPatel

Programmer
Apr 10, 2006
35
GB
Hi there I have several fields on which a user can search on. I have set up my webform as you can see from this screenshot.


I would like to write a SQL query where by if anyone types any combination of entries into the fields the query will retun all matching records. Can anyone help....?
 
try a search on these topics:

1. EXEC Stmt - Dynamic SQL
2. sp_executesql


they might be the thing that you are looking for...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top