> Why not use the like operator as in
>
> SELECT A
> FROM B
> WHERE (((A) Like "*GUITAR*"));
>
> which would give any string with guitar in it.
OK, first of all, this will spit as the quotes won't work - you should use
apostrophies
Secondly - how many brackets do you need in a WHERE with one condition?
Where A like '*guitar*'
will work just fine (or '%guitar%' in SQL Server)
Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists