Just use multiple LIKE statements

COLUMN LIKE '%MORE MESSAGES TO FIND%'
OR
COLUMN LIKE '%MORE%'

Etc

-
Snake

-----Original Message-----
From: Johnny Le [mailto:[EMAIL PROTECTED] 
Sent: 04 November 2006 15:15
To: CF-Talk
Subject: Advanced SQL question

Hi,
I know that COLUMN LIKE '%MORE MESSAGES TO FIND%' will find all the data
that has the phrase 'more messages to find' in it.  Now how do I find all
the data that either has 'more', 'messages', 'to', 'find', 'more messages',
'messages to', 'to find', 'more messages to','message to find', or 'more
message to find' in it?

I know this is invalid %COLUMN% LIKE 'MORE MESSAGES TO FIND', but is there a
way to do it?
Thank you.

Johnny



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259169
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to