The unnamed query still goes into the variables scope if you don't var scope it. I would definitely name them and var scope them.
On 7/31/07, Brad Wood <[EMAIL PROTECTED]> wrote: > > Actually I thought cfqueries which don't return a result set actually > remove their query name from whatever scope it was it. > > Would it really be necessary to supply, let alone var a cfquery which > was only an update? > > ~Brad > > -----Original Message----- > From: Brian Kotek [mailto:[EMAIL PROTECTED] > Sent: Monday, July 30, 2007 3:06 PM > To: CF-Talk > Subject: Re: CFC defining vars > > Yes, name it and var scope it. > > On 7/30/07, Chad Gray <[EMAIL PROTECTED]> wrote: > > > > > I tend to do this on updates or inserts of a database records when I > don't > > care what the query returns. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284955 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4