Technical Blog

This blog is mostly a blog for me with hints to remember those little bits of code etc where ever I am. Please be aware of this when reading any of the posts as they are mainly reminders for me. When I get time I will try to flesh out those sections that are a little ambiguous.

Pages

  • Home
  • Microsoft SQL Server
  • Virtualisation and VMWare
  • Scripting
  • Sharepoint
  • Storage

Friday, 31 October 2014

Find Duplicate Fields in a table

select field1,field2,field3, count(*)
  from table_name
  group by field1,field2,field3
  having count(*) > 1
Posted by PaulMJClark at 12:04
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Microsoft SQL Server

No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Search This Blog

About Me

PaulMJClark
View my complete profile

Labels

  • Certificate Services (1)
  • DB2 AS400 (1)
  • DHCP (1)
  • Microsoft Server (3)
  • Microsoft SQL Server (46)
  • VMWare (1)

Blog Archive

  • ►  2024 (1)
    • ►  April (1)
  • ►  2021 (4)
    • ►  December (1)
    • ►  June (1)
    • ►  February (2)
  • ►  2017 (2)
    • ►  May (2)
  • ►  2016 (3)
    • ►  November (1)
    • ►  April (1)
    • ►  March (1)
  • ►  2015 (3)
    • ►  November (2)
    • ►  May (1)
  • ▼  2014 (5)
    • ▼  October (2)
      • Pad leading Zero's in SQL
      • Find Duplicate Fields in a table
    • ►  July (1)
    • ►  April (2)
  • ►  2013 (5)
    • ►  October (1)
    • ►  September (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
  • ►  2012 (12)
    • ►  October (8)
    • ►  September (2)
    • ►  August (1)
    • ►  March (1)
  • ►  2011 (13)
    • ►  November (6)
    • ►  October (1)
    • ►  March (1)
    • ►  February (3)
    • ►  January (2)
  • ►  2010 (5)
    • ►  December (1)
    • ►  November (2)
    • ►  October (2)

Followers

Loading...
Theme images by Dizzo. Powered by Blogger.