What does the rendered query transaction look like?  It should be 
somewhere in the error dump.

Mike Little wrote:
> hi guys,
>
> getting an error using the following syntax...
>
> WHERE ((P.product_code LIKE <cfqueryparam cfsqltype="cf_sql_varchar" 
> value="%tents%">) OR (PD.product_title LIKE <cfqueryparam 
> cfsqltype="cf_sql_varchar" value="%tents%">) OR (PD.product_description LIKE 
> <cfqueryparam cfsqltype="cf_sql_varchar" value="%tents%">))
>
> the error i get is...
>
> You have an error in your SQL syntax; check the manual that corresponds to 
> your MySQL server version for the right syntax to use near ') OR 
> (PD.product_title ' at line 9
>
> this was working fine till i added the cfqueryparams.
>
> mike 
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316825
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