I use this one that Araplan posted a while back:
delete from &table_name a where rowid > (select min(rowid)
from &&table_name b
where a.&column_name=b.&&column_name)
/
>From: "Haskins, Ed" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
>Subject: Script that will remove redundant rows from table
>Date: Tue, 15 May 2001 09:40:47 -0800
>
>A few months ago I remember seeing a script that enabled the removal of
>redundant rows in a table. Can someone please forward or point me to such
>a
>script.
>
>I have an Oracle Names server that stores the database connect descriptors
>in a table within the Region Database. I've loaded these connect
>descriptors from many SQLNET.ora files throughout the enterprise. My
>problem is that there exists duplicates from the multiple SQLNET.ora files.
>I really want to clean this up so that only one entry per connect
>descriptor
>exists. I think that a generic script for any table will work in this
>situation.
>
>Thanks,
>Ed Haskins
>Oracle DBA
>Verizon Wireless
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Rachel Carmichael
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).