<?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: Using LIKE in Query of Queries SQL</title>
	<atom:link href="http://blog.crankybit.com/using-like-in-query-of-queries-sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/</link>
	<description>Take a byte out of tech!</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:54:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: siva</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-99336</link>
		<dc:creator>siva</dc:creator>
		<pubDate>Tue, 28 Jun 2011 06:32:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-99336</guid>
		<description>how to first four character and last character like query</description>
		<content:encoded><![CDATA[<p>how to first four character and last character like query</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Fredericks</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-61542</link>
		<dc:creator>Dan Fredericks</dc:creator>
		<pubDate>Mon, 22 Nov 2010 19:48:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-61542</guid>
		<description>Hey,
I noticed this since I am trying to use len in a query of queries, and it does not work. I need to get all values of my column where the length is 5. I tried &#039;[0-9]_____&#039; in my where clause like stmt, but it still seemed to bring  back records that were greater than 5. Any help would be greatly appreciated.
thanks
dan</description>
		<content:encoded><![CDATA[<p>Hey,<br />
I noticed this since I am trying to use len in a query of queries, and it does not work. I need to get all values of my column where the length is 5. I tried &#8216;[0-9]_____&#8217; in my where clause like stmt, but it still seemed to bring  back records that were greater than 5. Any help would be greatly appreciated.<br />
thanks<br />
dan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-59839</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Mon, 08 Nov 2010 18:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-59839</guid>
		<description>Awesome! Thanks!</description>
		<content:encoded><![CDATA[<p>Awesome! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Boude</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-59832</link>
		<dc:creator>Doug Boude</dc:creator>
		<pubDate>Mon, 08 Nov 2010 17:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-59832</guid>
		<description>This was EXACTLY what I was needing! I use QofQ so rarely, but just happened to have a need for it today and was getting quite frustrated at not being able to use a LEN() function in the WHERE clause. Your tips saved the day. :) Thanks!</description>
		<content:encoded><![CDATA[<p>This was EXACTLY what I was needing! I use QofQ so rarely, but just happened to have a need for it today and was getting quite frustrated at not being able to use a LEN() function in the WHERE clause. Your tips saved the day. <img src='http://blog.crankybit.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark L</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-27878</link>
		<dc:creator>Mark L</dc:creator>
		<pubDate>Wed, 08 Apr 2009 14:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-27878</guid>
		<description>Thanks Josh. This primer helped me solve my query returning no rows problem (using the wrong bloody LIKE characters!)</description>
		<content:encoded><![CDATA[<p>Thanks Josh. This primer helped me solve my query returning no rows problem (using the wrong bloody LIKE characters!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M Prasath</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-14593</link>
		<dc:creator>M Prasath</dc:creator>
		<pubDate>Fri, 28 Mar 2008 04:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-14593</guid>
		<description>I want to search %20 in the set can you please help me</description>
		<content:encoded><![CDATA[<p>I want to search %20 in the set can you please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Curtiss</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-7704</link>
		<dc:creator>Joshua Curtiss</dc:creator>
		<pubDate>Mon, 19 Nov 2007 14:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-7704</guid>
		<description>Sorry, don&#039;t know DB2.</description>
		<content:encoded><![CDATA[<p>Sorry, don&#8217;t know DB2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UPENDRA NARAYAN UPADHYAY</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-7660</link>
		<dc:creator>UPENDRA NARAYAN UPADHYAY</dc:creator>
		<pubDate>Mon, 19 Nov 2007 08:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-7660</guid>
		<description>I WANT A STORED PROCEDURE WHICH WILL FILTER RECORDS BASED ON THE VALUE OF THE PARAMETERS PASSED TO THE PROCEDURE.IT IS REQUIRED TO SEARCH A DATABASE DEPENDING ON THE SEARCH CRITERIA GIVEN FROM THE FRON END. THE DATABASE USED IS DB2 UDB 8.1</description>
		<content:encoded><![CDATA[<p>I WANT A STORED PROCEDURE WHICH WILL FILTER RECORDS BASED ON THE VALUE OF THE PARAMETERS PASSED TO THE PROCEDURE.IT IS REQUIRED TO SEARCH A DATABASE DEPENDING ON THE SEARCH CRITERIA GIVEN FROM THE FRON END. THE DATABASE USED IS DB2 UDB 8.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jess</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-4812</link>
		<dc:creator>jess</dc:creator>
		<pubDate>Thu, 04 Oct 2007 03:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-4812</guid>
		<description>that&#039;s it.. yeah.. it helps me a lot for beginners like me.

thanks josh and thanks for this site for fast reply.

I will add this site in my bookmark so I can update myself always

have a Good Day!</description>
		<content:encoded><![CDATA[<p>that&#8217;s it.. yeah.. it helps me a lot for beginners like me.</p>
<p>thanks josh and thanks for this site for fast reply.</p>
<p>I will add this site in my bookmark so I can update myself always</p>
<p>have a Good Day!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-4797</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Wed, 03 Oct 2007 15:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-4797</guid>
		<description>Jess, you can use two single-quotes together to escape the single-quote character.

For instance:

&lt;code&gt;select * from item where itemname like &#039;%&#039;&#039;%&#039;&lt;/code&gt;

Hope this helps.</description>
		<content:encoded><![CDATA[<p>Jess, you can use two single-quotes together to escape the single-quote character.</p>
<p>For instance:</p>
<p><code>select * from item where itemname like '%''%'</code></p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jess</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-4781</link>
		<dc:creator>Jess</dc:creator>
		<pubDate>Wed, 03 Oct 2007 08:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-4781</guid>
		<description>how to make a query with searching name with (&#039;) single quote character?

e.g

select * from item where itemname like &#039;% &#039; %&#039;
the quote between the % makes error. can you help me.</description>
		<content:encoded><![CDATA[<p>how to make a query with searching name with (&#8216;) single quote character?</p>
<p>e.g</p>
<p>select * from item where itemname like &#8216;% &#8216; %&#8217;<br />
the quote between the % makes error. can you help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-1814</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Fri, 13 Jul 2007 19:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-1814</guid>
		<description>@Duncan: Good catch! Oh, the woes of blog-coding. :-) 

Thanks everyone for comments.</description>
		<content:encoded><![CDATA[<p>@Duncan: Good catch! Oh, the woes of blog-coding. <img src='http://blog.crankybit.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
<p>Thanks everyone for comments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duncan</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-1812</link>
		<dc:creator>duncan</dc:creator>
		<pubDate>Fri, 13 Jul 2007 09:37:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-1812</guid>
		<description>nice tip, never used the [] before... ps I think your first query example should be OR not AND.</description>
		<content:encoded><![CDATA[<p>nice tip, never used the [] before&#8230; ps I think your first query example should be OR not AND.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Wheatley</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-1807</link>
		<dc:creator>Frank Wheatley</dc:creator>
		<pubDate>Thu, 12 Jul 2007 21:12:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-1807</guid>
		<description>Regex on QofQ.  This could be useful.  Remember there is a cost to using &#039;like&#039; in queries.</description>
		<content:encoded><![CDATA[<p>Regex on QofQ.  This could be useful.  Remember there is a cost to using &#8216;like&#8217; in queries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-1806</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Thu, 12 Jul 2007 20:58:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-1806</guid>
		<description>That&#039;s pretty cool stuff. I am a big fan of % and _ in queries, but I have never really gotten into the whole [ ] thing. Thanks.</description>
		<content:encoded><![CDATA[<p>That&#8217;s pretty cool stuff. I am a big fan of % and _ in queries, but I have never really gotten into the whole [ ] thing. Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

