sunnyl
20th March 2008, 09:54
Dear ALL,

I wanna make a query to search the name pattern without considering case-sensitive, but it doesn't work. Can anyone help me, pls?


string search(100)
search = "%" & given.name & "%"

select tccom140.*
from tccom140
where
tolower$(tccom140.chrn) ALIKE tolower$(:search)
selectdo
endselect

P.S. given.name is a field variable to hold the searching pattern.

shritiwari
23rd January 2013, 09:23
Does using ALIKE instead of LIKE lower the system performance???

shritiwari
23rd January 2013, 09:24
Does using ALIKE instead of LIKE lower the system performance???...If yes then how to improve it?