Click here to Skip to main content
15,896,442 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can i make my search efficient.
Like I have a big string having 3 to 4 K character. I have to search with 4 to 5 that word available on my column but not in same sequence.
At such condition how can i make efficient search.
Posted
Comments
Nelek 15-May-14 4:33am    
Don't think we can read minds or do astral projections to see your monitor. If you need help, the least you could do is to add some relevant code to your question or to explain your problem in such a way, that the users of CP can understand it. Otherwise, nobody will be able to help you.
phil.o 15-May-14 5:23am    
Moreover, efficient is a rather vague specification. Basically, you make researches 'efficient' by providing adequate indices on adequate columns.
Since your column is a string, it could be a good thing to include it in a textual-search index.
This is the most detailed answer possible with the informations you provided.

1 solution

This reference material on full text search[^] in SQL Server 2008 should help you.

There are specific sections on setting up appropriate indexes and performance considerations.
 
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