Click here to Skip to main content
15,894,955 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to search for more than 2 words using parameter storedproc in SQL. Example search for "Project Manager Books" even if its typed either way and even if the sentence start by "Manager" and end by "Project" as long that sentence have those 3 words, it must return only the sentences that contain "Project Manager Books".
Posted
Updated 5-Sep-11 0:29am
v2
Comments
Prerak Patel 5-Sep-11 6:30am    
Don't keep posting same question.

You can use the CONTAINS keyword to do this kind of a search[^].
 
Share this answer
 
v2
You can use Full-Text Search[^] in SQL Server.

Also, look at CONTAINS (Transact-SQL)[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900