 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: DB2 Web Query record count</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/db2-web-query-record-count/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/db2-web-query-record-count/</link>
	<description></description>
	<lastBuildDate>Sat, 18 May 2013 20:55:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: meandyou</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/db2-web-query-record-count/#comment-68570</link>
		<dc:creator>meandyou</dc:creator>
		<pubDate>Thu, 01 Oct 2009 14:21:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-68570</guid>
		<description><![CDATA[Since I don&#039;t know Web Query Report Assistant I can&#039;t say where one would put it.  

Could you use a UNION to append the COUNT to your original query?

SELECT ...
FROM ...
WHERE ...
UNION
SELECT &#039;value&#039; , COUNT(*)
FROM ...
WHERE ...
ORDER BY ...

where &#039;value&#039; is high value ( like x&#039;FF&#039; ) to force that row to sort last]]></description>
		<content:encoded><![CDATA[<p>Since I don&#8217;t know Web Query Report Assistant I can&#8217;t say where one would put it.  </p>
<p>Could you use a UNION to append the COUNT to your original query?</p>
<p>SELECT &#8230;<br />
FROM &#8230;<br />
WHERE &#8230;<br />
UNION<br />
SELECT &#8216;value&#8217; , COUNT(*)<br />
FROM &#8230;<br />
WHERE &#8230;<br />
ORDER BY &#8230;</p>
<p>where &#8216;value&#8217; is high value ( like x&#8217;FF&#8217; ) to force that row to sort last</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: buehler</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/db2-web-query-record-count/#comment-68545</link>
		<dc:creator>buehler</dc:creator>
		<pubDate>Wed, 30 Sep 2009 19:21:52 +0000</pubDate>
		<guid isPermaLink="false">#comment-68545</guid>
		<description><![CDATA[Steve,

Thanks, but where would you enter this SQL in DB2 Web Query Report Assistant in order to show the count of # of rows on the report (to be similar to the row count in Query/400?]]></description>
		<content:encoded><![CDATA[<p>Steve,</p>
<p>Thanks, but where would you enter this SQL in DB2 Web Query Report Assistant in order to show the count of # of rows on the report (to be similar to the row count in Query/400?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.034 seconds using memcached
Object Caching 281/287 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-18 21:55:19 -->