Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Remove duplicates
Please try this;
delete from TABLE_NAME a where a.rowid != (select max(row_id) from TABLE_NAME b where b.col_name = a.col_name)
"xiaomh" <xiaomh_at_hotmail.com> wrote in message
news:98j40g$c47$1_at_news.gov.on.ca...
> I want to import 10000 entries to my database. There are some duplicates
in
> them.
>
> What's the best way to remove them(duplicates)?
>
> Thanks in advance!
>
>
Received on Tue Mar 13 2001 - 16:41:30 CST
![]() |
![]() |