﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Atif Sheikh  / Count Number of Words and Characters / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 03:15:23 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Count Number of Words and Characters</title><link>http://www.sqlservercentral.com/Forums/Topic959193-2702-1.aspx</link><description>[quote][b]The Danish Dynamo (7/30/2010)[/b][hr]i posted that solution years ago, you just copied it and messed it up, please delete it[/quote]Really :w00t:? And how "messed up"?</description><pubDate>Sat, 31 Jul 2010 12:50:11 GMT</pubDate><dc:creator>Atif-ullah Sheikh</dc:creator></item><item><title>RE: Count Number of Words and Characters</title><link>http://www.sqlservercentral.com/Forums/Topic959193-2702-1.aspx</link><description>i posted that solution years ago, you just copied it and messed it up, please delete it</description><pubDate>Fri, 30 Jul 2010 11:15:15 GMT</pubDate><dc:creator>The Danish Dynamo</dc:creator></item><item><title>RE: Count Number of Words and Characters</title><link>http://www.sqlservercentral.com/Forums/Topic959193-2702-1.aspx</link><description>WHILE loop is there by mistake (was testing something before posting it). Please ignore it. </description><pubDate>Tue, 27 Jul 2010 22:22:17 GMT</pubDate><dc:creator>Atif-ullah Sheikh</dc:creator></item><item><title>RE: Count Number of Words and Characters</title><link>http://www.sqlservercentral.com/Forums/Topic959193-2702-1.aspx</link><description>ra.shinde, you are correct, the while loop will never end. Besides from your first function you can derive the word count as well. See code below:-- Number of specific CharactersDeclare @aa varchar(100)Set @aa = 'SQL Server 2005 Atif Sheikh A'Select Len(@aa) - Len(Replace(@aa, ' ', '')) + 1</description><pubDate>Tue, 27 Jul 2010 03:47:08 GMT</pubDate><dc:creator>lizardalpha</dc:creator></item><item><title>RE: Count Number of Words and Characters</title><link>http://www.sqlservercentral.com/Forums/Topic959193-2702-1.aspx</link><description>If I am not wrong, that while loop will never end.</description><pubDate>Tue, 27 Jul 2010 03:07:11 GMT</pubDate><dc:creator>ra.shinde</dc:creator></item><item><title>RE: Count Number of Words and Characters</title><link>http://www.sqlservercentral.com/Forums/Topic959193-2702-1.aspx</link><description>Hello sir in your number of words count code, what is use of while block because it is done without using while block</description><pubDate>Tue, 27 Jul 2010 00:19:38 GMT</pubDate><dc:creator>kishor.raskar</dc:creator></item><item><title>Count Number of Words and Characters</title><link>http://www.sqlservercentral.com/Forums/Topic959193-2702-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/SQL+Server+2005/70703/"&gt;Count Number of Words and Characters&lt;/A&gt;[/B]</description><pubDate>Mon, 26 Jul 2010 23:36:49 GMT</pubDate><dc:creator>Atif-ullah Sheikh</dc:creator></item></channel></rss>