Welcome Guest, Not a member yet? Register   Sign In
Databases: searching for a word in entries containing multiple words using 'like'
#9

(05-14-2021, 02:40 AM)paulkd Wrote: Hi,

raw SQL for you to evaluate..  Smile

Code:
SELECT * FROM test
WHERE LOWER(words) LIKE '% art%' OR LOWER(words) LIKE 'art%'

That looks like it might do the job! Pretty simple and pretty obvious really. I really need to brush up on my SQL as well as regex.

I’m not at the office at the mo, so I’ll check it out after the weekend and report back.

Many thanks!
Reply


Messages In This Thread
RE: Databases: searching for a word in entries containing multiple words using 'like' - by JernauGurgeh - 05-14-2021, 12:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB