Skip to content
  • There are no suggestions because the search field is empty.

T-SQL Script: Find Duplicates in a Table

T-SQL Script: Find Duplicates in a Table

SELECT YourColumn, COUNT(*) AS Count
FROM YourTable
GROUP BY YourColumn
HAVING COUNT(*) > 1;