Deleting duplicate records

From: "Bob Powell" <Bob(at)hotchkiss(dot)org>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Deleting duplicate records
Date: 2003-05-27 20:24:37
Message-ID: sed3915a.014@grpwise.hotchkiss.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello everyone:

Can someone tell me if there is a way to delete duplicate records from a table in Postgres.

I once used a database management system that had a "Delete Duplicates" which would check every field in the row and if they all matched would delete the row. You could also designate the fields you wanted the command to use to check for dups. Very nice feature. Maybe something for the TODO list?

Bob Powell

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Carlos Oliva 2003-05-27 20:32:56 FW: PID of user connection???
Previous Message Dmitri Bichko 2003-05-27 20:08:15 NULL sorts as largest?