Hi Dominic

fantastic link

thanks, i really need to learn more sql!!!

thanks again

richard

>Hi Richard,
>
>This should help:
>
>http://dev.mysql.com/doc/refman/5.0/en/any-in-some-subqueries.html
>
>Basically, you can do like:
>
>SELECT * FROM tableX
>WHERE tableXId IN (#listOfIds#)
>
>With cfqueryparam that looks like
>
><cfqueryparam cfsqltype="cf_sql_integer" value="#listOfIds#" list="true">
>
>You'll also need ArrayToList().
>
>HTH
>
>Dominic
>
>
>
>> 

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

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

Reply via email to