<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Count Duplicate Records &#8211; Rows</title>
	<atom:link href="http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Thu, 09 Feb 2012 10:31:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: prithvi singh</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-247011</link>
		<dc:creator><![CDATA[prithvi singh]]></dc:creator>
		<pubDate>Thu, 02 Feb 2012 12:46:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-247011</guid>
		<description><![CDATA[SELECT EBD.sFirstName + &#039; &#039; + EBD.sMiddleName + &#039; &#039; + EBD.sLastName AS EmpName,
       EBD.sFatherName ,
       EOD.dJoinigDate,
       --&#039;Present&#039;,&#039;Weekly Off&#039;,&#039;Holiday&#039;,&#039;Half Day&#039;  
      ISNULL( (SELECT SUM(CASE WHEN EA.D1=&#039;Present&#039; THEN 1  ELSE CASE WHEN EA.D1=&#039;Weekly Off&#039; THEN 2 ELSE CASE WHEN EA.D1=&#039;Holiday&#039; THEN 3
       ELSE CASE WHEN EA.D1=&#039;Half Day&#039; THEN 1 ELSE 0 END)      
        FROM tbl_empAttendenceLog EA Where EA.iEmployeeID=EBD.iEmployeeID and EA.sMonth =&#039;January&#039;   Group by EA.iEmployeeID ),0) as Oneday
        
FROM                  tblEmployeeBasicDetail EBD INNER JOIN    
                      tblEmpOfficialDetails EOD ON EBD.iEmployeeID = EOD.iEmployeeID INNER JOIN
                      tblClientBranch CB ON EOD.iBranchID = CB.iBranchID]]></description>
		<content:encoded><![CDATA[<p>SELECT EBD.sFirstName + &#8216; &#8216; + EBD.sMiddleName + &#8216; &#8216; + EBD.sLastName AS EmpName,<br />
       EBD.sFatherName ,<br />
       EOD.dJoinigDate,<br />
       &#8211;&#8217;Present&#8217;,'Weekly Off&#8217;,'Holiday&#8217;,'Half Day&#8217;<br />
      ISNULL( (SELECT SUM(CASE WHEN EA.D1=&#8217;Present&#8217; THEN 1  ELSE CASE WHEN EA.D1=&#8217;Weekly Off&#8217; THEN 2 ELSE CASE WHEN EA.D1=&#8217;Holiday&#8217; THEN 3<br />
       ELSE CASE WHEN EA.D1=&#8217;Half Day&#8217; THEN 1 ELSE 0 END)<br />
        FROM tbl_empAttendenceLog EA Where EA.iEmployeeID=EBD.iEmployeeID and EA.sMonth =&#8217;January&#8217;   Group by EA.iEmployeeID ),0) as Oneday</p>
<p>FROM                  tblEmployeeBasicDetail EBD INNER JOIN<br />
                      tblEmpOfficialDetails EOD ON EBD.iEmployeeID = EOD.iEmployeeID INNER JOIN<br />
                      tblClientBranch CB ON EOD.iBranchID = CB.iBranchID</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waqar Ismail</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-240181</link>
		<dc:creator><![CDATA[Waqar Ismail]]></dc:creator>
		<pubDate>Wed, 18 Jan 2012 11:46:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-240181</guid>
		<description><![CDATA[Hi pinal ,
I have some problem regarding sqlserver which is that i have db in which i have to put condition like user can save five time data and when they do six time it will not add and mention the error,.

Thanx
Waqar Isamil]]></description>
		<content:encoded><![CDATA[<p>Hi pinal ,<br />
I have some problem regarding sqlserver which is that i have db in which i have to put condition like user can save five time data and when they do six time it will not add and mention the error,.</p>
<p>Thanx<br />
Waqar Isamil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RAVI</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-232823</link>
		<dc:creator><![CDATA[RAVI]]></dc:creator>
		<pubDate>Sat, 07 Jan 2012 09:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-232823</guid>
		<description><![CDATA[select day, count(*) from test GROUP BY day;
USE IT]]></description>
		<content:encoded><![CDATA[<p>select day, count(*) from test GROUP BY day;<br />
USE IT</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RAVI</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-232822</link>
		<dc:creator><![CDATA[RAVI]]></dc:creator>
		<pubDate>Sat, 07 Jan 2012 09:03:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-232822</guid>
		<description><![CDATA[select day, count(*) from test GROUP BY day; 

EASY AND LESS  COMPLICATED ANS]]></description>
		<content:encoded><![CDATA[<p>select day, count(*) from test GROUP BY day; </p>
<p>EASY AND LESS  COMPLICATED ANS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akash</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-231099</link>
		<dc:creator><![CDATA[Akash]]></dc:creator>
		<pubDate>Wed, 04 Jan 2012 08:09:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-231099</guid>
		<description><![CDATA[thanx.. its short and effective... worked for me..]]></description>
		<content:encoded><![CDATA[<p>thanx.. its short and effective&#8230; worked for me..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-219450</link>
		<dc:creator><![CDATA[Pablo]]></dc:creator>
		<pubDate>Fri, 16 Dec 2011 16:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-219450</guid>
		<description><![CDATA[hi, thank you, very well.]]></description>
		<content:encoded><![CDATA[<p>hi, thank you, very well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abc</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-216013</link>
		<dc:creator><![CDATA[abc]]></dc:creator>
		<pubDate>Mon, 12 Dec 2011 11:57:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-216013</guid>
		<description><![CDATA[thanx....]]></description>
		<content:encoded><![CDATA[<p>thanx&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arman</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-211270</link>
		<dc:creator><![CDATA[Arman]]></dc:creator>
		<pubDate>Mon, 05 Dec 2011 11:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-211270</guid>
		<description><![CDATA[Thanks. Just as exactly what I am looking for. It worked as expected.]]></description>
		<content:encoded><![CDATA[<p>Thanks. Just as exactly what I am looking for. It worked as expected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-204609</link>
		<dc:creator><![CDATA[Ben]]></dc:creator>
		<pubDate>Sat, 26 Nov 2011 00:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-204609</guid>
		<description><![CDATA[Hi,

I&#039;m looking for a similar but different query that I&#039;ve been twisting my brain trying to figure out. Your post is the closest I&#039;ve come to finding an answer.

I&#039;m querying a table where multiple people might be selling the same item (ItemID). What I want to do is get all unique items, and for each unique item, get a count of how many duplicates there are for that unique item. I want a list of all unique items, not just the ones that have duplicates. (For ones with no duplicates, the duplicate count can can be one or zero, I don&#039;t care.)

A simplified version of the ForSale table is:
[ID] [uniqueidentifier] NOT NULL CONSTRAINT [DF_Selling_ID]  DEFAULT (newsequentialid()), -- This is the primary key
[ItemID] [uniqueidentifier] NOT NULL,
[Description] [nvarchar](max) NULL

There is a second table &quot;Items&quot; that contains the information about the item in question. I&#039;m trying to link the output of the 

I&#039;ve gotten almost all the way with your above query:

SELECT ItemID, Count(1) TotalCount
FROM ForSale
Group BY ItemID
HAVING COUNT(1) &gt; 0
ORDER BY COUNT(1) DESC

But I can&#039;t figure out how to get the Item info also brought into the results of the query. I thought an inner join would do the trick, but then I end up with a record for each ForSale, defeating the unique.

Any ideas?]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m looking for a similar but different query that I&#8217;ve been twisting my brain trying to figure out. Your post is the closest I&#8217;ve come to finding an answer.</p>
<p>I&#8217;m querying a table where multiple people might be selling the same item (ItemID). What I want to do is get all unique items, and for each unique item, get a count of how many duplicates there are for that unique item. I want a list of all unique items, not just the ones that have duplicates. (For ones with no duplicates, the duplicate count can can be one or zero, I don&#8217;t care.)</p>
<p>A simplified version of the ForSale table is:<br />
[ID] [uniqueidentifier] NOT NULL CONSTRAINT [DF_Selling_ID]  DEFAULT (newsequentialid()), &#8212; This is the primary key<br />
[ItemID] [uniqueidentifier] NOT NULL,<br />
[Description] [nvarchar](max) NULL</p>
<p>There is a second table &#8220;Items&#8221; that contains the information about the item in question. I&#8217;m trying to link the output of the </p>
<p>I&#8217;ve gotten almost all the way with your above query:</p>
<p>SELECT ItemID, Count(1) TotalCount<br />
FROM ForSale<br />
Group BY ItemID<br />
HAVING COUNT(1) &gt; 0<br />
ORDER BY COUNT(1) DESC</p>
<p>But I can&#8217;t figure out how to get the Item info also brought into the results of the query. I thought an inner join would do the trick, but then I end up with a record for each ForSale, defeating the unique.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suresh Kumar VC</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-197020</link>
		<dc:creator><![CDATA[Suresh Kumar VC]]></dc:creator>
		<pubDate>Wed, 16 Nov 2011 16:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-197020</guid>
		<description><![CDATA[Hello Madhivanan,
Thanks a lot and all the best wishes...Regards, Suresh Kumar VC]]></description>
		<content:encoded><![CDATA[<p>Hello Madhivanan,<br />
Thanks a lot and all the best wishes&#8230;Regards, Suresh Kumar VC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-187722</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 03 Nov 2011 09:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-187722</guid>
		<description><![CDATA[select id, sum(case when direction=1 then 1 else 0 end) as incoming,sum(case when direction=2 then 1 else 0 end) as incoming from table
group by id]]></description>
		<content:encoded><![CDATA[<p>select id, sum(case when direction=1 then 1 else 0 end) as incoming,sum(case when direction=2 then 1 else 0 end) as incoming from table<br />
group by id</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-187671</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 03 Nov 2011 08:17:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-187671</guid>
		<description><![CDATA[you need to use

select a*1.0/b

For more informations refer this
http://beyondrelational.com/blogs/madhivanan/archive/2008/01/16/beware-of-implicit-conversions.aspx]]></description>
		<content:encoded><![CDATA[<p>you need to use</p>
<p>select a*1.0/b</p>
<p>For more informations refer this<br />
<a href="http://beyondrelational.com/blogs/madhivanan/archive/2008/01/16/beware-of-implicit-conversions.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2008/01/16/beware-of-implicit-conversions.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: guna</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-187613</link>
		<dc:creator><![CDATA[guna]]></dc:creator>
		<pubDate>Thu, 03 Nov 2011 06:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-187613</guid>
		<description><![CDATA[sir .. i have 2 variables ... a and b ... a=25, b=148, and divide b/a=c,

this balance 0 then print c value otherwise balance available then add 1 to c ..

c+=1;

how to write query please help me sir...]]></description>
		<content:encoded><![CDATA[<p>sir .. i have 2 variables &#8230; a and b &#8230; a=25, b=148, and divide b/a=c,</p>
<p>this balance 0 then print c value otherwise balance available then add 1 to c ..</p>
<p>c+=1;</p>
<p>how to write query please help me sir&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-187000</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 02 Nov 2011 11:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-187000</guid>
		<description><![CDATA[select empid,case when day1=&#039;pp&#039; then 1 end +case when day2=&#039;pp&#039; then 1 end +case when day3=&#039;pp&#039; then 1 end +case when day4=&#039;pp&#039; then 1 end +case when day5=&#039;pp&#039; then 1 end  from table where empid=&#039;e001&#039;]]></description>
		<content:encoded><![CDATA[<p>select empid,case when day1=&#8217;pp&#8217; then 1 end +case when day2=&#8217;pp&#8217; then 1 end +case when day3=&#8217;pp&#8217; then 1 end +case when day4=&#8217;pp&#8217; then 1 end +case when day5=&#8217;pp&#8217; then 1 end  from table where empid=&#8217;e001&#8242;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-186997</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 02 Nov 2011 11:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-186997</guid>
		<description><![CDATA[You need pagination. Refer method 4 here
http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/multipurpose-row-number-function.aspx]]></description>
		<content:encoded><![CDATA[<p>You need pagination. Refer method 4 here<br />
<a href="http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/multipurpose-row-number-function.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/multipurpose-row-number-function.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: guna</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-186971</link>
		<dc:creator><![CDATA[guna]]></dc:creator>
		<pubDate>Wed, 02 Nov 2011 10:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-186971</guid>
		<description><![CDATA[Hello sir ... 100 rows in a table i want split first 25 and second 25 rows only ... 25 wise 

how do please help me sir...]]></description>
		<content:encoded><![CDATA[<p>Hello sir &#8230; 100 rows in a table i want split first 25 and second 25 rows only &#8230; 25 wise </p>
<p>how do please help me sir&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RAHUL</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-186723</link>
		<dc:creator><![CDATA[RAHUL]]></dc:creator>
		<pubDate>Wed, 02 Nov 2011 03:13:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-186723</guid>
		<description><![CDATA[RESULT SHOULD BE 3.....TELL ME]]></description>
		<content:encoded><![CDATA[<p>RESULT SHOULD BE 3&#8230;..TELL ME</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RAHUL</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-186719</link>
		<dc:creator><![CDATA[RAHUL]]></dc:creator>
		<pubDate>Wed, 02 Nov 2011 03:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-186719</guid>
		<description><![CDATA[i have one table empid. day1,day2,day3,da4; and its value is e001,pp,pp,pp,aa.......
now  iwant to know how many columns having value pp of empid e001.............plz tell me fast...]]></description>
		<content:encoded><![CDATA[<p>i have one table empid. day1,day2,day3,da4; and its value is e001,pp,pp,pp,aa&#8230;&#8230;.<br />
now  iwant to know how many columns having value pp of empid e001&#8230;&#8230;&#8230;&#8230;.plz tell me fast&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uday</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-183309</link>
		<dc:creator><![CDATA[uday]]></dc:creator>
		<pubDate>Tue, 25 Oct 2011 10:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-183309</guid>
		<description><![CDATA[how can i sum alternate rows in table
Example: 12 AM
                 3AM
                 6AM
                 10AM
1st record is IN Time
2nd record is out Time

now i need to sum the alternate rows and this the time where a Employee comes in and goes out so i need to get his working hrs 

Now result should be as below

3 HRs (12 to 3 AM)
4 hrs (6 to 10 AM)]]></description>
		<content:encoded><![CDATA[<p>how can i sum alternate rows in table<br />
Example: 12 AM<br />
                 3AM<br />
                 6AM<br />
                 10AM<br />
1st record is IN Time<br />
2nd record is out Time</p>
<p>now i need to sum the alternate rows and this the time where a Employee comes in and goes out so i need to get his working hrs </p>
<p>Now result should be as below</p>
<p>3 HRs (12 to 3 AM)<br />
4 hrs (6 to 10 AM)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suresh Kumar VC</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-183227</link>
		<dc:creator><![CDATA[Suresh Kumar VC]]></dc:creator>
		<pubDate>Tue, 25 Oct 2011 06:38:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-183227</guid>
		<description><![CDATA[How can I get a count query result for the following email table where direction column contains 1 for incoming and 2 for outgoing :
id  &#124; email data &#124; direction
1  &#124; abcded  &#124;1
1  &#124; sdfdfdf   &#124;2
1  &#124; asdadsf &#124;1
1  &#124; dfdfdf   &#124;2

I want the out put as :Email Report:
  id  &#124; incoming &#124; outgoing
1    &#124; 2    &#124;  2

Can any one please advise me...Thanks a lot in advance.
God Bless you all for a happy,peaceful and non violent , humanly world]]></description>
		<content:encoded><![CDATA[<p>How can I get a count query result for the following email table where direction column contains 1 for incoming and 2 for outgoing :<br />
id  | email data | direction<br />
1  | abcded  |1<br />
1  | sdfdfdf   |2<br />
1  | asdadsf |1<br />
1  | dfdfdf   |2</p>
<p>I want the out put as :Email Report:<br />
  id  | incoming | outgoing<br />
1    | 2    |  2</p>
<p>Can any one please advise me&#8230;Thanks a lot in advance.<br />
God Bless you all for a happy,peaceful and non violent , humanly world</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-178362</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 13 Oct 2011 11:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-178362</guid>
		<description><![CDATA[Duplicate on what basis? Are the columns fixed?]]></description>
		<content:encoded><![CDATA[<p>Duplicate on what basis? Are the columns fixed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javed Ahmad Qureshi</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-178219</link>
		<dc:creator><![CDATA[Javed Ahmad Qureshi]]></dc:creator>
		<pubDate>Thu, 13 Oct 2011 04:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-178219</guid>
		<description><![CDATA[I am into an upgrade process of my software application, and it gives me error of duplicate records found in tables. My database contains more than 1000 tables and I&#039;m unable to execute the query on each table manually. Is there any possibility that a single query can check all tables in the whole database for duplication?]]></description>
		<content:encoded><![CDATA[<p>I am into an upgrade process of my software application, and it gives me error of duplicate records found in tables. My database contains more than 1000 tables and I&#8217;m unable to execute the query on each table manually. Is there any possibility that a single query can check all tables in the whole database for duplication?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-177972</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 12 Oct 2011 13:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-177972</guid>
		<description><![CDATA[Why do you want to use while loop? What is wrong with the example given in this post? Using While loop is ineffecient]]></description>
		<content:encoded><![CDATA[<p>Why do you want to use while loop? What is wrong with the example given in this post? Using While loop is ineffecient</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javed Ahmad Qureshi</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-177942</link>
		<dc:creator><![CDATA[Javed Ahmad Qureshi]]></dc:creator>
		<pubDate>Wed, 12 Oct 2011 11:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-177942</guid>
		<description><![CDATA[I have a question, could anybody guide me to have a WHILE ... LOOP query to run the duplication check on first two columns of all tables in a specified database?]]></description>
		<content:encoded><![CDATA[<p>I have a question, could anybody guide me to have a WHILE &#8230; LOOP query to run the duplication check on first two columns of all tables in a specified database?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-167756</link>
		<dc:creator><![CDATA[Derek]]></dc:creator>
		<pubDate>Tue, 13 Sep 2011 12:58:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/11/sql-server-count-duplicate-records-rows/#comment-167756</guid>
		<description><![CDATA[Thank you. I&#039;d forgotten how to do this and your post pushed me back in the right direction.]]></description>
		<content:encoded><![CDATA[<p>Thank you. I&#8217;d forgotten how to do this and your post pushed me back in the right direction.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

