Oracle 8x SQL or PL/SQL Script for dedup - TechRepublic
General discussion
August 30, 2001 at 05:21 PM
dynanin

Oracle 8x SQL or PL/SQL Script for dedup

by dynanin . Updated 24 years, 6 months ago

For CRM app … I’m looking for a piece of SQL code that will enable me to eliminate duplicate records in a database using a key (like CUSTOMER_ID) with the added twist of a sort criteria (like keeping the most recent CONTACT_DATE records for each customer).

This discussion is locked

All Comments