Nope, QofQ does now allow for outer joins either with the "left outer"
syntax, nor with the "*=" syntax.

The work-around is usually to union two selects like in the link I
posted earlier.

~Brad

-----Original Message-----
From: C. Hatton Humphrey [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 14, 2007 12:03 PM
To: CF-Talk
Subject: Re: Compare two tables


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:294833
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