Click here to Skip to main content
15,883,809 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,
today M here to to learn how to match string using sorted list ...

i have one DB and one of textbox ...

full string (My Name Is RK)
_-----------------------------
Sorted Db :
column 1 - column 2
[1] How - How r u .. ?
[2] My - My Name Is Rk
-------------------------------

How To search Full string (Column 2)
by Using Sorted List (Column 1)

If Column 1(item) exist Search Column 2 (item)

M trying to search fastest as possible and i guess this is the only way ....

Thnxxs in Advance
Posted
Comments
OriginalGriff 31-Jul-15 6:51am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Sorry, but we can't work out from that exactly what your problem is, what you have tried, where you are stuck, or what help you need!
Use the "Improve question" widget to edit your question and provide better information.

1 solution

I guess you cannot make such assumptions on speeding up the search in a database (database engines already provide their own mechanism for speeding up such things).
I would suggest you to perform a test, in order to establish if performance of a simple query is acceptable.
Then if you really need better performances you could try to tune your database (e.g. using indices).
 
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