I'm assuming an outer join will still include records even if there is no
matching records in the 2nd table.  What then happens if there is a matching
record - will it still be included?



-----Original Message-----
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Friday, 2 February 2007 10:09 PM
To: CF-Talk
Subject: Re: Query Question

Pete wrote:
> 
> Select *
> From
>      tbl_procedures  p,
>        procedure_asset   pa
> Where (
>        p.procedureid = pa.procedureid and
>          procedurecategoryid = #url.procedurecategoryid#
> )
> 
> The trouble I am having is that if there is no matching record in the
> procedure_asset table the query is not returning any records.

Check your database manual for OUTER JOINs.

Jochem



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268454
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to