T-SQL Script: Find Duplicates in a Table T-SQL Script: Find Duplicates in a Table SELECT YourColumn, COUNT(*) AS CountFROM YourTableGROUP BY YourColumnHAVING COUNT(*) > 1;