<?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: OPNQRYF</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/opnqryf-5/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/opnqryf-5/</link>
	<description></description>
	<lastBuildDate>Tue, 18 Jun 2013 23:43:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: woodengineer</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/opnqryf-5/#comment-59592</link>
		<dc:creator>woodengineer</dc:creator>
		<pubDate>Mon, 02 Feb 2009 17:52:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-59592</guid>
		<description><![CDATA[OPNQRYF has a built-in function of %RANGE.  This can simplify a select statement.
For example, to select a range of divisions the select statement would include  &#039;DIVISION = %Range(&#039; *CAT &amp;FDIV *BCAT &amp;TDIV *CAT &#039;)&#039;  

Another hint - be sure the variables concatenated into your query select string are in character format.  I&#039;ve found that OPNQRYF is a lot happier with character data in the select statement.]]></description>
		<content:encoded><![CDATA[<p>OPNQRYF has a built-in function of %RANGE.  This can simplify a select statement.<br />
For example, to select a range of divisions the select statement would include  &#8216;DIVISION = %Range(&#8216; *CAT &amp;FDIV *BCAT &amp;TDIV *CAT &#8216;)&#8217;  </p>
<p>Another hint &#8211; be sure the variables concatenated into your query select string are in character format.  I&#8217;ve found that OPNQRYF is a lot happier with character data in the select statement.</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/8 queries in 0.038 seconds using memcached
Object Caching 269/270 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 00:53:10 -->