Hi, 

I was just wondering what the reason is behind the error I get when I use dot 
notation with QoQ in the where clause.

This will throw an error:
<cfquery name="myQry" dbtype="query">
select *
from a.qry
where a.qry.fkPOCId = 1 
</cfquery>

This won't:

<cfset goodQry = a.qry />

<cfquery name="myQry" dbtype="query">
select *
from goodQry
where goodQry.fkPOCId = 1 
</cfquery>

It seems that anything beyond a single dot in the where clause will cause the 
QoQ to throw an error.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318421
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