Re: Deleting duplicates
From: Loh Buck Cheng <buckloh_at_po.pacific.net.sg>
Date: 1996/06/19
Message-ID: <4q96t6$ioh_at_raffles.technet.sg>#1/1
Date: 1996/06/19
Message-ID: <4q96t6$ioh_at_raffles.technet.sg>#1/1
duanef_at_umich.edu (Any One) wrote:
> gave any one give me some sample code to delete duplicates? I have a
> table that now contains duplicate data (due to unforseen circumstances)
> that I need to clean up.
>
Try delete ORDER_HEADER x
where exists (select 'x' from ORDER_HEADER y where x.order_no = y.order_no and x.rowid <> y.rowid )
Rgds,
Buck
Received on Wed Jun 19 1996 - 00:00:00 CEST