> Yeah, this is a case where it would be nice if QofQ had more
> capability.  This would be simple with the ability to do an outer join
> between the tables.  Luckily it only needs to be done once, or at least
> only a few times until it is determined what is out of sync between the
> old version (Access) and the new version (SQL) and it is reconciled.

You can't do sub-selects but I'm pretty sure you can do outer joins...

SELECT A.ID, A.LicenseNumber, B.ID, B.LicenseNumber
FROM qOne A LEFT OUTER JOIN qTwo B ON
A.LicenseNumber = B.LicenseNumber
WHERE B.ID IS NULL

That *should* return all of the records in qOne that don't have a
match in qTwo... work with it from there for the rest ;)

Hatton

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:294827
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