It's annoying that spaces were ever allowed in the first place. I would do something like this in the first cfquery so it will work in your qoq select... [Column Name] as ColumnName A better solution frankly is to eliminate those spaces
John Mason [EMAIL PROTECTED] 770.337.8363 www.FusionLink.com - ColdFusion and Flex hosting Now offering VPS Plans running with VMware technology Now offering ColdFusion 8 Enterprise hosting FREE Subversion hosting _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Councill Sent: Thursday, April 17, 2008 4:25 PM To: [email protected] Subject: [ACFUG Discuss] QoQ question I am writing a query of query where the result set in the original query has spaces in the field names. I know when you are querying a database, you use [Field Name] as the syntax but CF is throwing an error when I do this with the QoQ. Any ideas how I can call the fieldname with spaces in a QoQ? J. Scott Councill Software Engineer II Direct: 404.601.4390 Cell: 804.267.9555 <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] Spunlogic Expect More From the Web <http://www.spunlogic.com/?CMP=EMC-OutlookSig> www.spunlogic.com Looking for insights and tips on all aspects of interactive marketing? Visit <http://www.spunlogic.com/blog/?CMP=EMC-OutlookSig> Spunlogic's Blog for a look inside the minds of a leading interactive agency. ------------------------------------------------------------- Annual Sponsor - Figleaf Software <http://www.figleaf.com> To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink <http://www.fusionlink.com> ------------------------------------------------------------- ------------------------------------------------------------- Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
