Re: DELETE DUPLICATES

From: Bruce Arbuckle <brucea_at_atlastele.com>
Date: Mon, 14 Jun 1993 19:32:40 GMT
Message-ID: <1993Jun14.193240.3047_at_atlastele.com>


In article <1va9pm$7mc_at_erau.db.erau.edu> mellott_at_db.erau.edu (David Michael Mellott) writes:
>does anyone have a simple script to delete duplicates
>from a table
>I thank you in advance\mike
>.
>
delete from table
  where rowid in
   (select rowid from table A, table B
   where B.rowid > A.rowid)

Should do the trick.

-- 
Bruce Arbuckle                                    EMAIL: brucea_at_atlastele.com
                                                  
Received on Mon Jun 14 1993 - 21:32:40 CEST

Original text of this message