Hi,

i am running a Query of Query with the following where clause:

WHERE QueryA.column1 NOT IN (#ValueList(QueryB.column1)#)

However, i get an error saying it cant compare an integer with a string. so 
usually i wrap the columns in a CAST as follows:

WHERE CAST(QueryA.subjectID AS VARCHAR) NOT IN (#ValueList(QueryB.subjectID)#) 

however, i cant figure out how i would wrap the ValueList part of the where 
clause in the CAST?

would appreciate any help

thanks

Richard 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346390
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to