Board index » delphi » Removing duplicate rows in a SQL data base.
Keith Brown
![]() Delphi Developer |
Sat, 13 Mar 2004 11:25:42 GMT
Removing duplicate rows in a SQL data base.
I have a SQL data base that only contains one table.
Each row contains 10 fields. 1 string field (50 chars), 1 datetime field, and eight integers. The table currently contains more than 7Million rows. Several hundred thousand rows are added each month. (Current loads are generally weekly) Some of those rows are exact duplicates. (Duplicates occur because: Q1. Is there a cheap way to remove the undesired copies? I'm using D5 Enterprise and MS SQL Server 8.00.194 on Win2000. Generic SQL or MS-SQL specific suggestions appreciated. Thanks. Keith. |