<?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 - functa57.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-25T05:11:56</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#43479" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#33939" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#33936" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#33513" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#27393" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#18879" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#43479">
		<title>coldfusion/6.1/htmldocs/functa57.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#43479</link>
		<description>I agree with  mossy_77's comment.&lt;br /&gt;&lt;br /&gt;The workarounds everyone suggested do work in most cases. But if you need to do a UNION operation in a Query of Queries (&lt;cfquery dbtype=&quot;query&quot;&gt;), you cannot use a query created by QueryNew() in unison with a query from another data source.&lt;br /&gt;&lt;br /&gt;If you try UNIONing a query from a database with one created from QueryNew(), you get an error similar to this:&lt;br /&gt;&lt;br /&gt;Query Of Queries runtime error.&lt;br /&gt;All resulting columns of queries in a SELECT statement containing a UNION operator must have corresponding types. &lt;br /&gt;Columns with index number equal &quot;2&quot; have diffent types (VARCHAR, OTHER).</description>
		<dc:creator>Chris Peters</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-12-20T07:06:27</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#33939">
		<title>coldfusion/6.1/htmldocs/functa57.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#33939</link>
		<description>For clearing the variable, adding &lt;CFSET myQuery=0&gt; seemed to work better and made a big difference in processing time for me. (CF 5.0)</description>
		<dc:creator>Cal22</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-05-24T21:11:49</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#33936">
		<title>coldfusion/6.1/htmldocs/functa57.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#33936</link>
		<description>I just added a second &lt;cfset myQuery = QueryNew(&quot;name, address, phone&quot;)&gt; to the example and it seemed to work for me. Maybe just try it and see how it works for you.</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 0</dc:type>
		<dc:date>2005-05-24T17:55:45</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#33513">
		<title>coldfusion/6.1/htmldocs/functa57.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#33513</link>
		<description>Can this be used to clear a query's contents before repopulating it?</description>
		<dc:creator>Cal22</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-05-17T18:19:08</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#27393">
		<title>coldfusion/6.1/htmldocs/functa57.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#27393</link>
		<description>Hi mossy_77,&lt;br /&gt;&lt;br /&gt;You can use CreateODBCDate function and assign a date datatype to a query column and perform your actions basing on that column.&lt;br /&gt;&lt;br /&gt;I hope for number you can use Val function for adding a numeric values.&lt;br /&gt;&lt;br /&gt;Goodluck,&lt;br /&gt;&lt;br /&gt;-- Ravi.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-02-03T12:35:57</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#18879">
		<title>coldfusion/6.1/htmldocs/functa57.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa57.htm#18879</link>
		<description>query Functions, there is no faciltity to add arguments to qualify datatypes in custom built queries. this is needed for integers and dates.</description>
		<dc:creator>mossy_77</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-07-22T02:14:34</dc:date>
	</item>
	</rdf:RDF>

