<?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: Escape single quotes and wild cards &#8216;%&#8217; , &#8216;_&#8217; in MS SQL</title>
	<atom:link href="http://www.techtamasha.com/escape-single-quotes-and-wild-cards-_-in-ms-sql/20/feed" rel="self" type="application/rss+xml" />
	<link>http://www.techtamasha.com/escape-single-quotes-and-wild-cards-_-in-ms-sql/20</link>
	<description>a new play everyday</description>
	<lastBuildDate>Mon, 23 Aug 2010 11:03:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Nischal Shetty</title>
		<link>http://www.techtamasha.com/escape-single-quotes-and-wild-cards-_-in-ms-sql/20/comment-page-1#comment-3247</link>
		<dc:creator>Nischal Shetty</dc:creator>
		<pubDate>Tue, 04 Aug 2009 15:46:37 +0000</pubDate>
		<guid isPermaLink="false">http://techtamasha.com/?p=20#comment-3247</guid>
		<description>@Ashok 

you&#039;re welcome buddy ;)</description>
		<content:encoded><![CDATA[<p>@Ashok </p>
<p>you&#8217;re welcome buddy <img src='http://www.techtamasha.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashok</title>
		<link>http://www.techtamasha.com/escape-single-quotes-and-wild-cards-_-in-ms-sql/20/comment-page-1#comment-3240</link>
		<dc:creator>Ashok</dc:creator>
		<pubDate>Tue, 04 Aug 2009 06:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://techtamasha.com/?p=20#comment-3240</guid>
		<description>Thank&#039;s yaar,
it increses few more drop in my gyan sagar.... :)</description>
		<content:encoded><![CDATA[<p>Thank&#8217;s yaar,<br />
it increses few more drop in my gyan sagar&#8230;. <img src='http://www.techtamasha.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nischal Shetty</title>
		<link>http://www.techtamasha.com/escape-single-quotes-and-wild-cards-_-in-ms-sql/20/comment-page-1#comment-583</link>
		<dc:creator>Nischal Shetty</dc:creator>
		<pubDate>Tue, 07 Oct 2008 15:41:51 +0000</pubDate>
		<guid isPermaLink="false">http://techtamasha.com/?p=20#comment-583</guid>
		<description>@Kam99 

Thanks for sharing this info here. Thats a bit tricky alright :)

About the second way of using ESCAPE.. I&#039;m not too sure if its supported in other databases.</description>
		<content:encoded><![CDATA[<p>@Kam99 </p>
<p>Thanks for sharing this info here. Thats a bit tricky alright <img src='http://www.techtamasha.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>About the second way of using ESCAPE.. I&#8217;m not too sure if its supported in other databases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kam99</title>
		<link>http://www.techtamasha.com/escape-single-quotes-and-wild-cards-_-in-ms-sql/20/comment-page-1#comment-582</link>
		<dc:creator>kam99</dc:creator>
		<pubDate>Tue, 07 Oct 2008 15:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://techtamasha.com/?p=20#comment-582</guid>
		<description>Just for completeness =)

Have you ever think you&#039;ll need to search-like for square brace itself? Some &#039;-![CoolName]!-&#039; for example?

The solution is a bit tricky - you need to escape only opening [ square.
select * from table where column like &#039;%[[]%&#039;

other workable expressions - like &#039;%]%&#039;, &#039;%[[]%]%&#039;

Not very obvious, but still logical ;)


(way 2 is possible here too, but how many ORMs support such syntax?)</description>
		<content:encoded><![CDATA[<p>Just for completeness =)</p>
<p>Have you ever think you&#8217;ll need to search-like for square brace itself? Some &#8216;-![CoolName]!-&#8217; for example?</p>
<p>The solution is a bit tricky &#8211; you need to escape only opening [ square.<br />
select * from table where column like '%[[]%&#8217;</p>
<p>other workable expressions &#8211; like &#8216;%]%&#8217;, &#8216;%[[]%]%&#8217;</p>
<p>Not very obvious, but still logical <img src='http://www.techtamasha.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>(way 2 is possible here too, but how many ORMs support such syntax?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nischal Shetty</title>
		<link>http://www.techtamasha.com/escape-single-quotes-and-wild-cards-_-in-ms-sql/20/comment-page-1#comment-133</link>
		<dc:creator>Nischal Shetty</dc:creator>
		<pubDate>Tue, 15 Jul 2008 01:10:36 +0000</pubDate>
		<guid isPermaLink="false">http://techtamasha.com/?p=20#comment-133</guid>
		<description>My pleasure Alex :)</description>
		<content:encoded><![CDATA[<p>My pleasure Alex <img src='http://www.techtamasha.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.techtamasha.com/escape-single-quotes-and-wild-cards-_-in-ms-sql/20/comment-page-1#comment-132</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 14 Jul 2008 17:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://techtamasha.com/?p=20#comment-132</guid>
		<description>Thx very much</description>
		<content:encoded><![CDATA[<p>Thx very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nischal Shetty</title>
		<link>http://www.techtamasha.com/escape-single-quotes-and-wild-cards-_-in-ms-sql/20/comment-page-1#comment-80</link>
		<dc:creator>Nischal Shetty</dc:creator>
		<pubDate>Tue, 03 Jun 2008 01:30:03 +0000</pubDate>
		<guid isPermaLink="false">http://techtamasha.com/?p=20#comment-80</guid>
		<description>Hey thanks a lot for the encouraging comment on your part James. Motivates me to blog more :)</description>
		<content:encoded><![CDATA[<p>Hey thanks a lot for the encouraging comment on your part James. Motivates me to blog more <img src='http://www.techtamasha.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Socol</title>
		<link>http://www.techtamasha.com/escape-single-quotes-and-wild-cards-_-in-ms-sql/20/comment-page-1#comment-76</link>
		<dc:creator>James Socol</dc:creator>
		<pubDate>Mon, 02 Jun 2008 18:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://techtamasha.com/?p=20#comment-76</guid>
		<description>Thank you! You have no idea how much trouble you saved me.

Who at MS thought this was a good idea? &quot;The rest of the world uses a slash, so we should definitely do something dumb, instead.&quot;</description>
		<content:encoded><![CDATA[<p>Thank you! You have no idea how much trouble you saved me.</p>
<p>Who at MS thought this was a good idea? &#8220;The rest of the world uses a slash, so we should definitely do something dumb, instead.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nischal Shetty</title>
		<link>http://www.techtamasha.com/escape-single-quotes-and-wild-cards-_-in-ms-sql/20/comment-page-1#comment-9</link>
		<dc:creator>Nischal Shetty</dc:creator>
		<pubDate>Wed, 26 Mar 2008 04:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://techtamasha.com/?p=20#comment-9</guid>
		<description>Hey... I&#039;m glad it did :)</description>
		<content:encoded><![CDATA[<p>Hey&#8230; I&#8217;m glad it did <img src='http://www.techtamasha.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thanks</title>
		<link>http://www.techtamasha.com/escape-single-quotes-and-wild-cards-_-in-ms-sql/20/comment-page-1#comment-8</link>
		<dc:creator>Thanks</dc:creator>
		<pubDate>Mon, 24 Mar 2008 15:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://techtamasha.com/?p=20#comment-8</guid>
		<description>It really helped me.</description>
		<content:encoded><![CDATA[<p>It really helped me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.630 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-08-26 02:22:24 -->
