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

Home -> Community -> Usenet -> c.d.o.server -> Re: Duplicate records

Re: Duplicate records

From: Tuktukia <tuktukia_at_aol.com>
Date: 1997/08/19
Message-ID: <19970819155601.LAA26154@ladder02.news.aol.com>#1/1

Hi Sushma,

Try using this sql :

delete from <table>
where rowid in
(select a.rowid
 from <table> a, <table> b
 where a.primary_key = b.primary_key
 and a.rowid < b.rowid
)

This assumes that the table has a primary key.

Good luck
Abhijit Received on Tue Aug 19 1997 - 00:00:00 CDT

Original text of this message

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