 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; Query</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/development/query/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Sat, 18 May 2013 19:08:47 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Query</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/query-8/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/query-8/#comments</comments>
		<pubDate>Tue, 26 Feb 2013 13:44:09 +0000</pubDate>
		<dc:creator>catalina3x</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Query]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/query-8/</guid>
		<description><![CDATA[New Discussion Post by philpl1jb]]></description>
				<content:encoded><![CDATA[New Discussion Post by philpl1jb]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/query-8/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>SQL Group by Query with aggregate function as well as detail information</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-group-by-query-with-aggregate-function-as-well-as-detail-information/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql-group-by-query-with-aggregate-function-as-well-as-detail-information/#comments</comments>
		<pubDate>Mon, 08 Oct 2012 11:13:19 +0000</pubDate>
		<dc:creator>idontknowthis</dc:creator>
				<category><![CDATA[Access]]></category>
		<category><![CDATA[GROUP BY statement]]></category>
		<category><![CDATA[MAX]]></category>
		<category><![CDATA[Query]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/sql-group-by-query-with-aggregate-function-as-well-as-detail-information/</guid>
		<description><![CDATA[New Answer by TomLiotta]]></description>
				<content:encoded><![CDATA[New Answer by TomLiotta]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql-group-by-query-with-aggregate-function-as-well-as-detail-information/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Need urgent help</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/need-urgent-help/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/need-urgent-help/#comments</comments>
		<pubDate>Thu, 04 Oct 2012 07:40:10 +0000</pubDate>
		<dc:creator>sanketkolge10</dc:creator>
				<category><![CDATA[Query]]></category>
		<category><![CDATA[Query Design]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/need-urgent-help/</guid>
		<description><![CDATA[New Discussion Post by carlosdl]]></description>
				<content:encoded><![CDATA[New Discussion Post by carlosdl]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/need-urgent-help/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Limit the number of record in a table</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/limit-the-number-of-record-in-a-table/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/limit-the-number-of-record-in-a-table/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 02:01:19 +0000</pubDate>
		<dc:creator>Astre88m</dc:creator>
				<category><![CDATA[Query]]></category>
		<category><![CDATA[Query Parameters]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[New Answer by]]></description>
				<content:encoded><![CDATA[New Answer by ]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/limit-the-number-of-record-in-a-table/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Even/Odd Numbers</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/evenodd-numbers/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/evenodd-numbers/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 03:59:31 +0000</pubDate>
		<dc:creator>RollTide</dc:creator>
				<category><![CDATA[Query]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Can you query for even or odd numbers only?]]></description>
				<content:encoded><![CDATA[<p>Can you query for even or odd numbers only?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/evenodd-numbers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Query Many Tables</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/query-many-tables/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/query-many-tables/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 21:16:35 +0000</pubDate>
		<dc:creator>ManyJobs</dc:creator>
				<category><![CDATA[multiple tables]]></category>
		<category><![CDATA[Query]]></category>
		<category><![CDATA[relationships]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I want to run a query on many tables. The answer I am asking is &#8220;How many 1s, 2s, and 3s are in all the tables together?&#8221; Each semester we get information on standards. How well a student completed a standard &#8211; a 1 is the lowest 3 is high proficiency.  The problem is this [...]]]></description>
				<content:encoded><![CDATA[<p>I want to run a query on many tables. The answer I am asking<br />
is &#8220;How many 1s, 2s, and 3s are in all the tables together?&#8221; Each<br />
semester we get information on standards. How well a student completed a<br />
standard &#8211; a 1 is the lowest 3 is high proficiency.  The problem is this when I set up the query I<br />
can’t really create a relationship because the same information is in each<br />
table. I import the tables from Excel. I end up the these count numbers that<br />
either reflect the results in one table or if I am able to successfully run the<br />
query on all tables I end up with some number that is clearly not “counting”<br />
the totals of 1s, 2s, and 3s because the number is way too high.  <br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/query-many-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>i5 Query Security</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/i5-query-security/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/i5-query-security/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 19:01:25 +0000</pubDate>
		<dc:creator>Amauer</dc:creator>
				<category><![CDATA[AS/400 Query]]></category>
		<category><![CDATA[i5]]></category>
		<category><![CDATA[I5 security]]></category>
		<category><![CDATA[Query]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Are there any commercial security programs that will secure the query function on the as400? We have user menus that keep users from viewing and changing critical files. However, we also have users who go into query and save the results of the query anywhere on the system.  I&#8217;m concerned that someone will save the results of [...]]]></description>
				<content:encoded><![CDATA[<p>Are there any commercial security programs that will secure the query function on the as400?<br/><br/> We have user menus that keep users from viewing and changing critical files.<br/><br/> However, we also have users who go into query and save the results of the query anywhere on the system.  I&#8217;m concerned that someone will save the results of a query and overwrite an existing file.<br/><br/> I can&#8217;t change the authorities on our files because this might interfere with our existing programs.<br/><br/> Any suggestions would be appreciated.<br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/i5-query-security/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL 2008 query: return results where row not in another table</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql2008-query-return-results-where-row-not-in-another-table/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql2008-query-return-results-where-row-not-in-another-table/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 22:02:52 +0000</pubDate>
		<dc:creator>RdS199</dc:creator>
				<category><![CDATA[Query]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[Subquery]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[hi, running sql2008.  i have the following two temp tables.  the first is just all web service errors for a date range.  the second is simply 20 rows that contain values of types of web service errors. &#8211;temp tbl #1 select [date],[err],[srv],[e1],[e2] into #tblExcept from netlog where [err] like &#8216;%web service%&#8217; and convert(char(10),[date],120) &#62;= @startDate [...]]]></description>
				<content:encoded><![CDATA[<p>hi,<br/><br/> running sql2008.  i have the following two temp tables.  the first is just all web service errors for a date range.  the second is simply 20 rows that contain values of types of web service errors.<br/><br/> &#8211;temp tbl #1 select [date],[err],[srv],[e1],[e2] into #tblExcept from netlog where [err] like &#8216;%web service%&#8217; and convert(char(10),[date],120) &gt;= @startDate and convert(char(10),[date],120) &lt;= @endDate order by [date]<br/><br/> &#8211;temp tbl #2 create table #tblWSerr (errName nvarchar(255)); insert into #tblWSerr values (&#8216;Error connecting&#8217;),                              (&#8216;server down&#8217;),                              (&#8216;mainframe&#8217;),                              (&#8216;invalid call&#8217;), . . . .                              (&#8216;request aborted&#8217;);<br/><br/>  i need to execute 3 queries:  1) return a count for each occurrence of records in tbl #2 as in tbl1.  2) do the opposite of query #1, and 3) count total number of records returns by #2.<br/><br/> 1)the first is below which returns a count of each web service error in tbl #1 and that works perfectly:<br/><br/> select t2.errName as &#8216;Err Msg&#8217;,count(t1.[message]) as &#8216;Count&#8217; from #tblExcept t1,#tblWSerr t2 where t1.[message] like &#8216;%&#8217; + t2.errName + &#8216;%&#8217; group by t2.errName<br/><br/> 2) have tried many different ways by using other operators and not exists, in, joins, or just flipping the above query by using &#8220;not like&#8221; (see below), but results are of course wrong:<br/><br/> select t1.[Message],t2.errName as &#8216;Err Msg&#8217;,count(t1.[message]) as &#8216;Count&#8217; from #tblWebSvcExcept t1,#tblWSerr t2 where t1.[message] not like &#8216;%&#8217; + t2.errName + &#8216;% group by t1.[message]<br/><br/>  questions: what query can i use to return a count of all occurences NOT in tbl2 (opposite of #1)?<br/><br/>  thanks in advance.<br/><br/>  <br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql2008-query-return-results-where-row-not-in-another-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Query on 4 different files</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/using-query-on-4-different-files/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/using-query-on-4-different-files/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 01:02:20 +0000</pubDate>
		<dc:creator>ZETA</dc:creator>
				<category><![CDATA[AS/400 File Sharing]]></category>
		<category><![CDATA[AS/400 Query]]></category>
		<category><![CDATA[AS/400 Reports]]></category>
		<category><![CDATA[Query]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi i have four different files each containing a Customer name ,number and sales amounts ,each file is for a different quarter of the year ,i would like to join the four files so that i can produce a report which lists across the page by quarter the sales for each customer,however not all the customers [...]]]></description>
				<content:encoded><![CDATA[<p>Hi i have four different files each containing a Customer name ,number and sales amounts ,each file is for a different quarter of the year ,i would like to join the four files so that i can produce a report which lists across the page by quarter the sales for each customer,however not all the customers with a sales figure in the first quarter(file,column) necessarily have an entry in any/all of the other three quarters(files,columns)<br/><br/> I cannot find a satisfactory method to join all 4 files so that i get all the information from each of the 4 files on my Report.<br/><br/> Any Help Appreciated<br/><br/> Cheers<br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/using-query-on-4-different-files/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Difference between QM Query and traditional query</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/difference-between-qm-query-and-traditional-query/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/difference-between-qm-query-and-traditional-query/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 19:01:11 +0000</pubDate>
		<dc:creator>slateken</dc:creator>
				<category><![CDATA[Database Files]]></category>
		<category><![CDATA[Query]]></category>
		<category><![CDATA[Query Management Query]]></category>
		<category><![CDATA[Query Manager]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[When both a QM Query and a traditional Query are run against a database file with IDENTICAL record selection, the traditional query returns more records. I can only guess that it has to do with a difference in the way each utility handles uncommitted data. It almost looks as if traditional Query &#8220;sees&#8221; uncommitted changes whereas Query Manager [...]]]></description>
				<content:encoded><![CDATA[<p>When both a QM Query and a traditional Query are run against a database file with IDENTICAL record selection, the traditional query returns more records. I can only guess that it has to do with a difference in the way each utility handles uncommitted data. It almost looks as if traditional Query &#8220;sees&#8221; uncommitted changes whereas Query Manager query does not. Can anyone verify this or offer more info on what&#8217;s happening under the covers. It is a bit unsettling to see different data sets returned from two different i tools given the same selection criteria.  Thanks.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/difference-between-qm-query-and-traditional-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</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/28 queries in 0.040 seconds using memcached
Object Caching 892/1012 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-18 20:12:37 -->