<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6.1 - htmldocs - using_r6.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-24T23:25:41</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#54658" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#42632" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#42602" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#30752" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#28480" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#28472" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#28126" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#27021" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#27017" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#26722" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#26703" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#21173" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#21168" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#20848" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#19088" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#54658">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#54658</link>
		<description>Moments after my last post I discovered a solution. I tested it and it works great!  I wrote a function to replace the QueryNew function.  Feel free to use and modify to your needs:&lt;br /&gt;&lt;br /&gt;&lt;CFFUNCTION name=&quot;queryNewQuery&quot; returnType=&quot;query&quot; access=&quot;public&quot;&gt;&lt;br /&gt;&lt;!-----------------------------------------------------------------------------&lt;br /&gt;&lt; DESCRIPTION   &gt; Replaces QueryNew by adding a datatype list.  On built queries, the datatype as in Query.GetMetaData().GetColumnTypeName&lt;br /&gt;&lt;				&gt;	is not defined.  Running query of queries defines both queries datatypes base on the first row's data.&lt;br /&gt;_______________________________________________________________________________&lt;br /&gt;&lt; CREATED BY    &gt; Chris Randall&lt;br /&gt;&lt; DATE          &gt; October 19, 2006 &lt;br /&gt;------------------------------------------------------------------------------&gt;&lt;br /&gt;	&lt;CFARGUMENT name = &quot;queryColumnList&quot; required = &quot;yes&quot;&gt;&lt;br /&gt;	&lt;CFARGUMENT name = &quot;queryTypeList&quot; required = &quot;yes&quot;&gt;&lt;br /&gt;	&lt;br /&gt;	&lt;!--- Datatype's to be specified.  More can be added but this is good for my purposes ---&gt;&lt;br /&gt;	&lt;CFSET VAR num = 100&gt;&lt;br /&gt;	&lt;CFSET VAR dec = 1.1&gt;&lt;br /&gt;	&lt;CFSET VAR bit = TRUE&gt;&lt;br /&gt;	&lt;CFSET VAR str = &quot;xxx&quot;&gt;	&lt;br /&gt;	&lt;br /&gt;	&lt;!--- Local variables ---&gt;&lt;br /&gt;	&lt;CFSET VAR i = &quot;&quot;&gt;&lt;br /&gt;	&lt;CFSET VAR myQuery = QueryNew(queryColumnList)&gt;&lt;br /&gt;	&lt;CFSET VAR qDefineTypes = &quot;&quot;&gt;&lt;br /&gt;	&lt;br /&gt;	&lt;!--- Put values in to the first row ---&gt;&lt;br /&gt;	&lt;CFSET QueryAddRow(myQuery,1)&gt;	&lt;br /&gt;	&lt;CFLOOP from = 1 to = &quot;#ListLen(queryColumnList)#&quot; index=&quot;i&quot;&gt;&lt;br /&gt;		&lt;CFSET QuerySetCell(myQuery,ListGetAt(queryColumnList,i),evaluate(ListGetAt(queryTypeList,i)),1)&gt;&lt;br /&gt;	&lt;/CFLOOP&gt;&lt;br /&gt;	&lt;br /&gt;	&lt;!--- Define the datatype in the query ---&gt;&lt;br /&gt;	&lt;CFQUERY name=&quot;qDefineTypes&quot; dbType=&quot;query&quot;&gt;&lt;br /&gt;		SELECT *&lt;br /&gt;		FROM myQuery&lt;br /&gt;		WHERE 1 &lt;&gt; 1&lt;br /&gt;	&lt;/CFQUERY&gt;&lt;br /&gt;	&lt;br /&gt;	&lt;!--- return empty query with defined types ---&gt;&lt;br /&gt;	&lt;CFRETURN qDefineTypes&gt;&lt;br /&gt;&lt;/CFFUNCTION&gt;</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-10-19T12:49:16</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#42632">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#42632</link>
		<description>Correction to my last post. The DateFormat should use &quot;m/d/yyyy&quot; not &quot;mm/dd/yyyy&quot;.&lt;br /&gt;&lt;br /&gt;ie:&lt;br /&gt;WHERE rmID = #rmID# and ArrDate = '#DateFormat(offerArriveDate,&quot;m/d/yyyy&quot;)#' and DepDate = '#DateFormat(offerDepartDate,&quot;m/d/yyyy&quot;)#'</description>
		<dc:creator>Murrah</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-11-23T18:21:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#42602">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#42602</link>
		<description>Re: dates in Query of Query. Querying an MS_Access db then querying the results. &lt;br /&gt;&lt;br /&gt;Using &lt;cfqueryparam value=&quot;#OfferArriveDate#&quot; cfsqltype=&quot;CF_SQL_DATE&quot;&gt; in the QoQ still gave &quot;unsupported type conversion error&quot;.&lt;br /&gt;&lt;br /&gt;The following worked:&lt;br /&gt;&lt;br /&gt;MS-Access query:&lt;br /&gt;&lt;br /&gt;&lt;CFQUERY name=&quot;BookedEnquiries&quot; dataSource=&quot;#request.DSN#&quot;&gt;	&lt;br /&gt;SELECT rmID, BookingDate, Format(ArriveDate) as ArrDate, Format(DepartDate) as DepDate&lt;br /&gt;FROM RoomBookings&lt;br /&gt;WHERE enqID = #url.enqID# and Status = 1&lt;br /&gt;&lt;/CFQUERY&gt;	&lt;br /&gt;&lt;br /&gt;QoQ:&lt;br /&gt;&lt;cfquery dbtype=&quot;query&quot; name=&quot;bookedChk&quot;&gt;&lt;br /&gt;Select BookingDate from BookedEnquiries &lt;br /&gt;WHERE rmID = #rmID# and  ArrDate = '#DateFormat(offerArriveDate,&quot;mm/dd/yyyy&quot;)#' and  DepDate = '#DateFormat(offerDepartDate,&quot;mm/dd/yyyy&quot;)#'&lt;br /&gt;&lt;/cfquery&gt;&lt;br /&gt;&lt;br /&gt;I assume using Format() in the original sql and single quotes in the QoQ means we are comparing string to string. If you needed to check for date ranges you may need to convert the original dates to some other format (eg yyyymmdd) and compare to that. I didnt need that so I havent tried it.</description>
		<dc:creator>Murrah</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-11-22T23:08:24</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#30752">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#30752</link>
		<description>just use the MaxRows attribute of the CFQuery tag instead of doing Top.</description>
		<dc:creator>cardinalweb</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-03-31T11:58:29</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#28480">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#28480</link>
		<description>What version are you moving from? I talked to a developer and he said CF hasn't supported &quot;top&quot; since the base CFMX release, but I can't find any documentation anywhere that says CF ever supported this keyword.&lt;br&gt;&lt;br&gt;In any case, I'm sorry to say that CFMX 7 does not support &quot;top.&quot;</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 0</dc:type>
		<dc:date>2005-02-24T06:36:07</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#28472">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#28472</link>
		<description>sanaullah  could you please tell me which version of CF are you using?</description>
		<dc:creator>prayank</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-02-24T03:20:53</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#28126">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#28126</link>
		<description>I think there is a bug in query of query  if we try this&lt;br /&gt;&lt;br /&gt;select top 20 cms_id,cms_name from application.contents&lt;br /&gt;&lt;br /&gt;the error comes up  that [ from keyword is missing from select statment]</description>
		<dc:creator>sanaullah</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-02-18T02:29:10</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#27021">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#27021</link>
		<description>I take it back. That doesn't work either.</description>
		<dc:creator>Kurt Eye</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-01-26T12:13:52</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#27017">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#27017</link>
		<description>I've found that the ToStr function fixes the datatyping issue for me, thusly:&lt;br /&gt;&lt;br /&gt;temp = querysetcell(entry, 'programnumber', tostr(your_variable)));&lt;br /&gt;&lt;br /&gt;...where &quot;your_variable&quot; is a value that is generally numeric but &lt;br /&gt;occassionally has an alphanumeric value. With this solution I'm no &lt;br /&gt;longer getting a &quot;Can't convert string to java type LONG&quot; error in my &lt;br /&gt;Query of Queries when an alphanumeric crops up.</description>
		<dc:creator>Kurt Eye</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-01-26T11:36:17</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#26722">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#26722</link>
		<description>I probably shouldn't have said &quot;and possible workarounds...&quot; in my comment. Clearly, that's the kind of stuff we want on LiveDocs pages.&lt;br&gt;&lt;br&gt;The point I was trying to make was that the Forums get way more traffic than LiveDocs, so you're more apt to get a faster response by posting questions to the forums. However, we just added a feature to LiveDocs that allows you to get e-mail notification when a new comment is added to a page, so maybe LiveDocs traffic will increase.&lt;br&gt;&lt;br&gt;Also, have you tried the new Knowledge Base feature on the Support Center? http://www.macromedia.com/support/coldfusion  I've found it to be pretty helpful.</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 0</dc:type>
		<dc:date>2005-01-19T10:14:29</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#26703">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#26703</link>
		<description>Preventing the posting in LiveDocs of work-arounds to bugs that have no fix available is in my opinion inappropriate. Telling me to not only find out about an issue in LiveDocs, but also go find the work around info in &quot;forums&quot; is unhelpful to me and likely to waste hours and more likely days. Refactoring and condensing the work arounds as the tech writer did here is very helpful - however, whatever fix or work around Tech support supposedly would help me enact &quot;for free&quot; unless they decide to call the bugs &quot;enhanced functionality of MX&quot; should be described here in Live Docs. Thank you to MM for employing the writer to condense the comments for us. When mentioning joining Blackstone beta, a link would be helpful. Getting lost in the MM site is quite easy and unproductive for most programmers.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-01-19T06:12:59</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#21173">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#21173</link>
		<description>bjquinn: I can understand that you're frustrated with Query of queries functionality. However, I hope that you'll understand that when you deal with LiveDocs, you're dealing with documentation; not development, not product marketing, not support. You can flame me all you want, but I'm still a Tech Writer, not a developer. Believe me when I tell you that I have lobbied development on your behalf. The Query of Queries enhancements in the next release of ColdFusion (Blackstone) have tried to address most of the  comments made on this page.&lt;br&gt;&lt;br&gt;I suggest signing up for the Blackstone Beta to ensure that the Query of Queries fixes/enhancements meet your needs. You can sign up from http://www.macromedia.com/support/programs/beta.html. Comments and complaints made to the Blackstone Beta forum will get a lot more attention than anything you post to this page.&lt;br&gt;&lt;br&gt;I will leave your comment in the page as a show of good faith. However, if this page once again gets to the point that it's not functioning as documentation, I'll consolidate the comments again.</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2004-09-09T10:53:13</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#21168">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#21168</link>
		<description>I am upset with the way that Macromedia is dealing with this issue.  I think the very fact that someone at Macromedia had to consolidate dozens of complaints about the query of queries problem to clean up the documentation page and to ask us to please quit complaining about its non-functionality on this page (there's always the forums or you can pay Macromedia to fix it!) - that should prove to them how annoying this issue is.  The fact that they refuse to fix it until the next version of Cold Fusion (no hotfix?!) is rediculous.  I've been having more and more of these types of issues lately, including one that I've been dealing with Macromedia tech support with on ALL YEAR - they need to realize they can't treat major problems this way or we're all eventually going to go somewhere else.  Macromedia is trying to treat us like Microsoft does, but unfortunately for Macromedia, THEY have competition.  Go PHP.</description>
		<dc:creator>bjquinn</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-09-09T09:53:09</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#20848">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#20848</link>
		<description>I had a similar problem where a string of the form &quot;11000000001010?10010000&quot; caused an attempt to convert it to double. The query was built using QuerySetCell() in the usual fashion and the CFDUMP showed the contents as advertised. However, the subsequent QofQ bombed. I wanted ALL the columns to be strings in terms of data type. My workaround was to make sure that the FIRST record of my hand built query had data that forced the column type to string i.e.&lt;br /&gt;&lt;br /&gt;&lt;cfset querysetcell(myQ,&quot;column1&quot;,&quot;xxxxxxx&quot;)&gt;&lt;br /&gt;&lt;cfset querysetcell(myQ,&quot;column2&quot;,&quot;xxxxxxx&quot;)&gt; etc.&lt;br /&gt;&lt;br /&gt;Apparently the FIRST record sets the column type. Then at the end I effectively removed my &quot;dummy&quot; record thus:&lt;br /&gt;&lt;br /&gt;&lt;cfquery name=&quot;myQ2&quot; dbtype=&quot;query&quot;&gt;&lt;br /&gt;   select * from myQ where column1 != 'xxxxxxx'&lt;br /&gt;&lt;/cfquery&gt;&lt;br /&gt;&lt;br /&gt;I think that QueryNew(columnlist) should be modified to accept an optional second parameter (for backwards code compatibility) thus:&lt;br /&gt;&lt;br /&gt;QueryNew(columnlist [,columnTypeList]) &lt;br /&gt;&lt;br /&gt;which would allow passing in not only the column names but also corresponding column type specificers.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-09-02T09:07:51</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#19088">
		<title>coldfusion/6.1/htmldocs/using_r6.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/using_r6.htm#19088</link>
		<description>Query of Queries feedback summary&lt;br&gt;Because of the large number of comments that this topic has elicited, we are consolidating similar descriptions into this comment, along with a response for each.&lt;br&gt;&lt;br&gt;Overview: Prior to ColdFusion MX, columns in query of queries were typeless. However, ColdFusion MX uses a more JDBC-like behavior and has the concept of data types in query columns. This change in behavior may require changes  to CF 5 applications, particularly for manually constructed queries. Additionally, some of the side-effects of this change have been been classified as bugs and will be fixed in the next release of ColdFusion MX.&lt;br&gt;&lt;br&gt;Please continue to add documentation-related comments to this page. However, if your comment relates to undesired behavior in the ColdFusion MX query of queries functionality, please do not add comments to this page. Instead, use one of the following alternatives:&lt;br&gt;* If you want to discuss the query of queries feature and possible workarounds with other members of the ColdFusion community, use the online forums: http://webforums.macromedia.com/coldfusion&lt;br&gt;* If query of queries behavior is seriously affecting your business, you should request Technical Support by calling the Macromedia Call Center at 1-800-945-9120 and opening a paid support incident. If your issue is found to be a bug, there is no charge for the incident.&lt;br&gt;&lt;br&gt;Randy Nielsen&lt;br&gt;ColdFusion Documentation Manager&lt;br&gt;Macromedia, Inc.&lt;br&gt;&lt;br&gt;Date: 9/22/03  By: TheoPeters&lt;br&gt;Summary: This developer noted that there is no way to tell QueryNew what the datatype of each column is, so if your data has any string values that look like a number or a date you will get an error.&lt;br&gt;Status: Fixed in next release of ColdFusion.&lt;br&gt;Note: This comment is duplicated by the following comments:&lt;br&gt;* 1/21/04 by no screen name&lt;br&gt;* 3/18/04 by Jens&lt;br&gt;* 3/23/04 by clomvardias&lt;br&gt;* 6/25/04 by no screen name&lt;br&gt;* 7/8/04  by brent.nicholas&lt;br&gt;* 7/23/04 by Bob Sacamano&lt;br&gt;* 7/24/04 by KkkMaxxX&lt;br&gt;* 7/25/04 by igneous&lt;br&gt;******&lt;br&gt;Date: 10/2/2003  By no screen name &lt;br&gt;Summary: This developer ran into a situation where a null value was returned and CF threw a [cannot convert the value &quot;&quot; to a boolean] error. &lt;br&gt;Status: To fix this, modify the QofQ to include &quot;and foo is not null&quot; in the WHERE clause as explained on http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/using_35.htm&lt;br&gt;******&lt;br&gt;Date: 12/17/2003  By: HolgerL &lt;br&gt;Summary: This developer had a situation in which, in a UNION, ColdFusion seemed to be casting the same field types to different data types.&lt;br&gt;Status: We have been unable to duplicate this behavior.&lt;br&gt;******&lt;br&gt;Date: 1/2/2004  By: jsevlie&lt;br&gt;Summary: This developer suggested a workaround that hard-wires all fields to strings:&lt;br&gt;&lt;cfset x = 5&gt;&lt;br&gt;&lt;!--- Use &quot;#x#&quot; to force a string data type ---&gt;&lt;br&gt;&lt;cfset QuerySetCell(qDatabase, &quot;sales&quot;, &quot;#x#&quot;, row_counter)&gt;&lt;br&gt;&lt;br&gt;instead of&lt;br&gt;&lt;br&gt;&lt;cfset x = 5&gt;&lt;br&gt;&lt;cfset QuerySetCell(qDatabase, &quot;sales&quot;, x, row_counter)&gt;&lt;br&gt;******&lt;br&gt;Date: 1/2/2004  By: jwcb &lt;br&gt;Summary: This developer had a question with regard to the CF versions that support QofQ. &lt;br&gt;Status: HalL responded by saying the QofQ is supported in ColdFusion 5, ColdFusion MX, and ColdFusion MX 6.1 noting that the SQL syntax support was enhanced between 5.0 and MX, but all three releases support basic features.&lt;br&gt;******&lt;br&gt;Date: 1/16/2004  By: Gary M G &lt;br&gt;Summary: This developer noted that in some cases, ColdFusion thought an Int was a BigInt. &lt;br&gt;Status: He was able to solve this by using a SQL Cast function to convert the Int to a BigInt: Cast(mydata as BigInt).&lt;br&gt;******&lt;br&gt;Date: 2/12/04  By: Brian428 &lt;br&gt;Summary: This developer described a situation in which QofQ aggressively treats numeric data (in the format xxx-xx-xxxx) as a date. &lt;br&gt;Status: HalL entered this as bug 54252 and it is fixed in the next release of ColdFusion.&lt;br&gt;******&lt;br&gt;Date: 2/25/04  By: mindtrap &lt;br&gt;Summary: This developer described a situation when using QofQ where one of the columns was a date and the recordset had come from an Oracle database and  CF returned an invalid type conversion error.&lt;br&gt;Status: On ColdFusion MX only, using cfqueryparam within the QoQ resolved the situation. It is still the behavior in ColdFusion 5.&lt;br&gt;******&lt;br&gt;Date: 3/16/04  By: Funke &lt;br&gt;Summary: This developer described a workaround when creating a UNION of three queries. The type mismatch only occurred when one of the statements returned 0 rows. The workaround is to check for recordcount=0 before creating the QofQ.&lt;br&gt;******&lt;br&gt;Date: 4/2/2004  By: no screen name &lt;br&gt;Summary: This developer described a workaround by creating a QueryOfQuery table in the database. The table has a Char field, a Number field, and a Date field. Then query this empty table to return an empty query with the column names and types: SELECT StringField as IndividualID, StringField as Email, DateField as CommitDate FROM QueryOfQuery WHERE 1 = 0&lt;br&gt;******&lt;br&gt;Date: 6/18/2004  By: GAlanShepard &lt;br&gt;Summary: This developer described a situation related to the case-sensitivity of QofQ. Status: Query of queries is case-sensitive, as described on http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/using_27.htm &lt;br&gt;******&lt;br&gt;Again, please continue to add documentation-related comments to this page. However, if your comment relates to undesired behavior in the ColdFusion MX query of queries functionality, please do not add comments to this page. Instead, use one of the alternatives listed at the top of this comment.</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 0</dc:type>
		<dc:date>2004-07-28T04:21:12</dc:date>
	</item>
	</rdf:RDF>

