Ah, hadn't considered that. Thanks. 

-----Original Message-----
From: Ben Nadel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 22, 2006 10:59 AM
To: CF-Talk
Subject: RE: Can't use dot-notation variables in Query of Queries?

I had the same problem. Local is a keyword in SQL.... Must use  [ ]
notation :

 <cfquery name="qCurrentAppl" dbtype="query"> SELECT
    *
FROM
    [local].qAllAppls
WHERE
    ML_RPT_HDR_ID=#ML_RPT_HDR_ID#
</cfquery>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244535
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to