<?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: Prompting for and passing partial search criteria to queries</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/prompting-for-and-passing-partial-search-criteria-to-queries/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/prompting-for-and-passing-partial-search-criteria-to-queries/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 19:19:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: vatchy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/prompting-for-and-passing-partial-search-criteria-to-queries/#comment-48993</link>
		<dc:creator>vatchy</dc:creator>
		<pubDate>Thu, 04 May 2006 08:26:34 +0000</pubDate>
		<guid isPermaLink="false">#comment-48993</guid>
		<description><![CDATA[I created query RUNSQLTST as a QMQRY:

SELECT * FROM SFPARMS WHERE KEYFIELD LIKE &amp;KEY

After creating it:

CRTQMQRY QMQRY(RUNSQLTST) SRCFILE(QQMQRYSRC)

I ran this from the command line:

STRQMQRY QMQRY(RUNSQLTST) SETVAR((TEST &#039;&#039;&#039;RSE%&#039;&#039;&#039;))

Note the extra quotes around the value.  This ran correctly and select everything that started with RSE.

I hope this helps.]]></description>
		<content:encoded><![CDATA[<p>I created query RUNSQLTST as a QMQRY:</p>
<p>SELECT * FROM SFPARMS WHERE KEYFIELD LIKE &amp;KEY</p>
<p>After creating it:</p>
<p>CRTQMQRY QMQRY(RUNSQLTST) SRCFILE(QQMQRYSRC)</p>
<p>I ran this from the command line:</p>
<p>STRQMQRY QMQRY(RUNSQLTST) SETVAR((TEST &#8221;&#8217;RSE%&#8221;&#8217;))</p>
<p>Note the extra quotes around the value.  This ran correctly and select everything that started with RSE.</p>
<p>I hope this helps.</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 6/9 queries in 0.019 seconds using memcached
Object Caching 268/271 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 22:18:00 -->