Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL: best way to find and remove duplicate rows ( keep 1 row )

Re: PL/SQL: best way to find and remove duplicate rows ( keep 1 row )

From: Kalle Pedastsaar <kalle_at_arc.tartu.ee>
Date: Mon, 9 Aug 1999 10:17:05 +0300
Message-ID: <37ae7f2e$0$26045@diablo.uninet.ee>


For example

Create table test as select distinct * from your_origin_table;

kalle
Paul Chu <chupaul_at_earthlink.net> wrote in message news:7ol3ur$47t$1_at_ash.prod.itd.earthlink.net...
> Hi all,
>
> I would like a script which would find all the duplicate rows in the table
> and keep 1 of the duplicate rows and delete the others.
>
> Any suggestions.
>
> Regards, Paul
>
>
>
Received on Mon Aug 09 1999 - 02:17:05 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US