Subject | Re: [ib-support] Duplicate values |
---|---|
Author | Lucas Franzen |
Post date | 2001-11-25T09:20:56Z |
Claudio,
Yes, this is deleting all duplicates, leaving none.
It's just a matter of how you're reading "deleting all duplicates" - if
it does include the first occurance (and therefore all records) or not.
If leaving the first occurance I'd have done sth. similar, but used the
primary key column instead the rdb$key column since I tend to forget
about this.
Thanks for reminding me about the existence.
Luc.
> Lucas, you seem to be deleting every occurrence of a duplicate. Wasn't theof course you're right.
> idea to reduce N occurrences of a value to only one occurrence? I think what
> you need is:
Yes, this is deleting all duplicates, leaving none.
It's just a matter of how you're reading "deleting all duplicates" - if
it does include the first occurance (and therefore all records) or not.
If leaving the first occurance I'd have done sth. similar, but used the
primary key column instead the rdb$key column since I tend to forget
about this.
Thanks for reminding me about the existence.
Luc.