使用Sorted Character匹配字符串.. ?. [英] Match string using Sorted Character ..?.
问题描述
今天我来这里学习如何使用排序列表匹配字符串...
i有一个DB和一个文本框...
全字符串(我的名字是RK)
_------------ -----------------
排序Db:
第1栏 - 第2栏
[ 1]怎么 - 如何ru ..?
[2]我的 - 我的名字是Rk
---------------- ---------------
如何搜索完整字符串(第2列)
使用排序清单(第1列)
如果存在第1列(项目)搜索第2列(项目)
我试图尽可能快地搜索,我想这是唯一的方法....
提前的Thnxxs
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
推荐答案
我想你不能对加速数据库中的搜索做出这样的假设(数据库引擎已经提供了自己的机制来加速这些事情)。
我建议你o执行测试,以确定是否可以接受简单查询的性能。
然后,如果你真的需要更好的表现,你可以尝试调整你的数据库(例如使用索引)。
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).
这篇关于使用Sorted Character匹配字符串.. ?.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!