Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Ed Schaefer — — source: Informix-list mailing list archive (1991-1998)
In <5nn7km$c4n@cssun.mathcs.emory.edu> rnatesan@bactc.com (Ramki
Natesan) writes:
>
>Hellow friends,
> Is there a way to delete all the duplicate rows in a given table
with
>simple sql statement in Informix?
>
>/Ramki.
Hi:
If you don't mind using rowids which is a no-no with fragmented tables:
select some_dup_col from sometab a, sometab b where a.some_dup_col =
b.some_dup_col and a.rowid != b.rowid
Hey! no flames. you can do it. I'm not recommending it.
regards,
Ed
Schaefer
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.