If you can get them both into cfquery objs, then try this (untested): (QoQ = Query of Queries as below)
<cfquery name="inAccessNotInSQLServer" dbtype="query"> SELECT * FROM qry_access WHERE URN NOT IN (#ValueList(qry_sqlServer.URN)#) </cfquery> <cfquery name="inSQLServerNotInAccess" dbtype="query"> SELECT * FROM qry_sqlServer WHERE URN NOT IN (#ValueList(qry_access.URN)#) </cfquery> Dominic ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294815 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4