Indeed, though to be honest LIKE could cause peformance issues depending on
record size,

Maybe more advanced search needs to be taken out of the DB and into a search
engine.








"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Snake
To: CF-Talk
Sent: Sat Nov 04 17:44:07 2006
Subject: RE: Advanced SQL question

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:259177
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