<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-544829222357122795.post7798251569587865893..comments</id><updated>2011-03-10T23:53:33.154+05:30</updated><category term='Service Monitor'/><category term='clickonce'/><category term='mobile'/><category term='SQL reporting services'/><category term='CRM FetchXML Builder'/><category term='CLR Functions SQL server 2005/2008'/><category term='Radio therapy'/><category term='Cancer'/><category term='Performance analysis'/><category term='N2'/><category term='SQL 2005'/><category term='art of interviewing'/><category term='Performance profiling'/><category term='Protocols'/><category term='dynamic where clause'/><category term='Running Total'/><category term='Dynamic SQL for custom pagination'/><category term='Custom Control'/><category term='Flexigrid'/><category term='static IP'/><category term='CRM Record Counter'/><category term='Archealogy'/><category term='custom filtering'/><category term='Two dimensional tree'/><category term='FTP'/><category term='todo'/><category term='flexigrid client-side sorting'/><category term='Code generator for sql'/><category term='SMS'/><category term='Struts'/><category term='reports'/><category term='IIS6.0'/><category term='PDF'/><category term='Javascript'/><category term='ASP.Net CacheItemRemoved'/><category term='Microsoft.IdentityModel'/><category term='Timer based Applications'/><category term='Case email'/><category term='Secure POP3 client C#'/><category term='Garbage collection'/><category term='Firefox'/><category term='ROUND()'/><category term='custom prerequisites'/><category term='FetchXML'/><category term='multiple websites in IIS'/><category term='Lookup'/><category term='filtering and sorting without using string concatenation'/><category term='testing'/><category term='ASP.Net'/><category term='LightBox2'/><category term='SQL Queries'/><category term='.NET'/><category term='Excel'/><category term='pattern) SQL server 2005'/><category term='MVC'/><category term='Lucknow'/><category term='Custom workflow activity'/><category term='POP3 client .NET'/><category term='Windows identity foundation'/><category term='Background process'/><category term='web applications'/><category term='web development'/><category term='Google calendar'/><category term='Flexigrid.Net'/><category term='FetchXML Builder'/><category term='sql injection'/><category term='CRM 4.0'/><category term='Photogallery'/><category term='String.Find(...'/><category term='Flexigrid ASP.NET'/><category term='shared IP'/><category term='HttpWatch'/><category term='System Tray applications'/><category term='Jquery'/><category term='ASP.Net MVC'/><category term='Struts.NET'/><category term='Bootstrap manifest generator'/><category term='String.Search() SQL'/><category term='dedicated IP'/><category term='Time picker'/><category term='Historical places'/><category term='POP3'/><category term='SQL SSRS 2005 ROUND() N2'/><category term='Imambara'/><category term='task list'/><category term='IMAP'/><category term='Windows Services'/><category term='What makes my day'/><category term='grid.htc'/><category term='web services'/><category term='Java'/><category term='Custom Plugins'/><category term='C#'/><category term='pagination'/><category term='POP3 client C#'/><category term='MS CRM 4.0'/><category term='blackberry'/><category term='add-ons'/><category term='Resizable flexigrid columns'/><category term='dynamic sort clause'/><category term='Windows Applications for Services'/><category term='YSlow'/><category term='Chemo therapy'/><category term='Never miss a task'/><title type='text'>Comments on Kiran Banda: String.Find(..., pattern) in SQL server 2005 or ab...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.kiranbanda.in/feeds/7798251569587865893/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544829222357122795/7798251569587865893/comments/default'/><link rel='alternate' type='text/html' href='http://www.kiranbanda.in/2011/03/stringfind-pattern-in-sql-server-2005.html'/><author><name>Kiran banda</name><uri>http://www.blogger.com/profile/10729993634489031771</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-544829222357122795.post-6513328577582496050</id><published>2011-03-10T23:53:21.791+05:30</published><updated>2011-03-10T23:53:21.791+05:30</updated><title type='text'>DECLARE @str NVARCHAR(100)
SET @str = &amp;#39;Naveen2...</title><content type='html'>DECLARE @str NVARCHAR(100)&lt;br /&gt;SET @str = &amp;#39;Naveen234Banda678Naveen587&amp;#39;&lt;br /&gt;DECLARE @ptr INT&lt;br /&gt;DECLARE @len INT&lt;br /&gt;DECLARE @cnt INT&lt;br /&gt;SET @ptr = 0&lt;br /&gt;SET @len = LEN(@str)&lt;br /&gt;DECLARE @result NVARCHAR(100)&lt;br /&gt;SET @result = &amp;#39;&amp;#39;&lt;br /&gt;WHILE CHARINDEX(&amp;#39;Naveen&amp;#39;,@str) &amp;lt;&amp;gt; 0 AND @ptr &amp;lt; @len&lt;br /&gt;BEGIN&lt;br /&gt;IF @ptr &amp;gt; 0&lt;br /&gt;BEGIN&lt;br /&gt;SET @result = @result+&amp;#39;;&amp;#39; &lt;br /&gt;END&lt;br /&gt;SET @ptr = CHARINDEX(&amp;#39;Naveen&amp;#39;,@str) + LEN(&amp;#39;Naveen&amp;#39;)&lt;br /&gt;SET @cnt = 0&lt;br /&gt;WHILE (ISNUMERIC(SUBSTRING(@str,@ptr,1)) = 1)&lt;br /&gt;BEGIN&lt;br /&gt;SET @result = @result + SUBSTRING(@str,@ptr,1)&lt;br /&gt;SET @ptr = @ptr + 1&lt;br /&gt;SET @cnt = @cnt + 1&lt;br /&gt;END&lt;br /&gt;SET @str = SUBSTRING(@str,@ptr, LEN(@str) - @ptr + 1)&lt;br /&gt;END&lt;br /&gt;SELECT @result</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544829222357122795/7798251569587865893/comments/default/6513328577582496050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544829222357122795/7798251569587865893/comments/default/6513328577582496050'/><link rel='alternate' type='text/html' href='http://www.kiranbanda.in/2011/03/stringfind-pattern-in-sql-server-2005.html?showComment=1299781401791#c6513328577582496050' title=''/><author><name>Kiran banda</name><uri>http://www.blogger.com/profile/10729993634489031771</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.kiranbanda.in/2011/03/stringfind-pattern-in-sql-server-2005.html' ref='tag:blogger.com,1999:blog-544829222357122795.post-7798251569587865893' source='http://www.blogger.com/feeds/544829222357122795/posts/default/7798251569587865893' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-799829443'/></entry></feed>
