Re: DELETING IDENTICAL ROWS IN A TABLE
From: Yao Fang <fangyao_at_worldnet.att.net>
Date: 1997/05/31
Message-ID: <01bc6d77$0a5045e0$4d3293cf_at_bfang>#1/1
Date: 1997/05/31
Message-ID: <01bc6d77$0a5045e0$4d3293cf_at_bfang>#1/1
Try this :
delete from table_name
where rowid NOT in (
select min(rowid) from table_name group by primary_key);
Yao
Shiva K Mantri (CS) <smantri_at_site.gmu.edu> wrote in article
<5mlidr$2ei_at_portal.gmu.edu>...
> Hi everybody,
>
> How can I delete rows with identical primary key values using SQL
commands
> rather than PL/SQL.
>
> ----SHIVA
>
>
Received on Sat May 31 1997 - 00:00:00 CEST