pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mario Filipe <mjnf@uevora.pt>
To: Sferacarta Software <sferac@bo.nettuno.it>
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] Query to eliminate duplicates
Date: Thu, 03 Dec 1998 08:59:21 -0000 (WET)
Message-ID: <XFMail.981203085921.mjnf@uevora.pt> (raw)
In-Reply-To: <18724.981202@bo.nettuno.it>


On 02-Dec-98 Sferacarta Software wrote:
> MF> Is there a way to eliminate duplicate records using just SQL?
> 
> SELECT DISTINCT ...

        I deserved that!

        The problem is that i have a table where there are duplicate records
and i want to delete them! I tryed creating a unique index but it told me it
couldn't because it didn't have a function to do something (I think it is
because i had a boolean field in it)

        Thanks

P.S : I've looked in ther archive and found that there were others who made the
same question yet never got an anwser...

        Mario Filipe 
        mjnf@uevora.pt
        http://neptuno.sc.uevora.pt/~mjnf (modificada em 26/11/98)

view thread (3+ messages)

Message-ID: <XFMail.981203085921.mjnf@uevora.pt>
Permalink:  ../XFMail.981203085921.mjnf@uevora.pt/
Also on:    postgresql.org/message-id/XFMail.981203085921.mjnf@uevora.pt

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: mjnf@uevora.pt, sferac@bo.nettuno.it
  Subject: Re: [SQL] Query to eliminate duplicates
  In-Reply-To: <XFMail.981203085921.mjnf@uevora.pt>
  References: <18724.981202@bo.nettuno.it> <XFMail.981203085921.mjnf@uevora.pt>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox