且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何一次在数据库中搜索5列

更新时间:2023-12-03 14:54:40

dropvalue%' A.ename like '
dropvalue%' or A.ename like '%


dropvalue%' B.equipment_group 喜欢 '
dropvalue%' or B.equipment_group like '%


dropvalue%'
dropvalue%'


这是我要在数据库中搜索的查询,我正在从文本框中获取dropvalue.这意味着无论您在文本框中输入的内容是什么,它都会根据该值在数据库中进行搜索..

它正在工作,但是如果有更多记录,这将需要一段时间才能进行搜索.


this is my query to search in database i am taking dropvalue from a textbox. that mean what ever you enter in text box it will search in database by that value..

It is working But if more records are there it is taking time to search can any one help.