Hi, group by + havingis your friend.E.g.Select field1, field2, count(*)From tablexGroup by field1, field2Having count(*)>1 But in your scenario i do not know if this is the solution. Question is if record was changed and in next update "restored" and once again changed is this duplicate or no?If yes above query is ok if no then procedure is your friend. And for the future change your audit trigger and check before if there was any change Regards,Karol Bieniaszewski null
Re: [firebird-support] Find duplicate multi-row entries
liviuslivius [email protected] [firebird-support] Wed, 27 Sep 2017 21:21:41 -0700
- [firebird-supp... 'Daniel Miller' [email protected] [firebird-support]
- Re: [fire... liviuslivius [email protected] [firebird-support]
- Re[2]... 'Daniel Miller' [email protected] [firebird-support]
- R... Svein Erling Tysvær [email protected] [firebird-support]
- ... 'Daniel Miller' [email protected] [firebird-support]
- ... Svein Erling Tysvær [email protected] [firebird-support]
- ... Svein Erling Tysvær [email protected] [firebird-support]
- ... Svein Erling Tysvær [email protected] [firebird-support]
- ... 'Daniel Miller' [email protected] [firebird-support]
- ... setysvar [email protected] [firebird-support]
- ... 'Daniel Miller' [email protected] [firebird-support]
- ... 'Daniel Miller' [email protected] [firebird-support]
