Click here to Skip to main content
15,909,953 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a Radgrid in my page. A RadSearchBox is used to search and filter the Radgrid. How can i increase the performance when i write the SELECT query with ' LIKE %name%' in firstname , middilename and lastname column in my table. will indexing help me here?

eg: SELECT * FROM name_details where first_name LIKE %ram% OR last_name LIKE %ram%;

Thanks,
Amrutha
Posted

1 solution

Like does not make use of normal indexes, it can use full text indexing.
 
Share this answer
 
Comments
AmruthaNair 20-May-14 4:31am    
Hi,

i am using MYSQL 5.5.. i am not sure whether it has that ppty..

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