ASP.Net
Saturday, April 7, 2012
SQL SERVER – Find out the Duplicate Records
SELECT AccNo, COUNT(*) TotalCount
FROM SRLibData
GROUP BY AccNo
HAVING COUNT(*) > 1
ORDER BY COUNT(*) DESC
Thanks
Alok Kumar Sharma
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment