Thanks, Dominic, However... the qoq started complaining about comparing integers to strings... I guess Verity search returns all data as strings... I had to CAST image_id column in db query as CHAR, and it started working... But... it that right? Should it be like that? I am worried that casting a column as char, and then comparing string values in the qoq might actually bring in a big overhead and make it slower than doing an IN () comparisson... Any thoughts?
Thanks, Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Dominic Watson wrote: >> for some reason your approach with filtering verity results with a qoq >> gives me an error: >> > > > Oh yeh, you must put it in square brackets as CF sees it as a keyword even > thought it is prefixed. Forgot about that. > > <cfquery name="qoqSearchResults" dbtype="query"> > SELECT * > FROM vSearch, dbSearch > WHERE vSearch.[key] = dbSearch.image_id > </cfquery> > > Dom > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:302824 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

