Subject | Re: Automatically deleting bad duplicate records |
---|---|
Author | robertgilland |
Post date | 2005-10-10T04:06:08Z |
>had
> Has the field always been the primary key, or is it a field that
> no declared unique constraint that one day you decided to make aAlways Primary key fields
> primary key?
>
> Does the database have forced writes on?Forced writes was not on when corruption took place, we have since
switched forced writes on.
>flagging
> Have you ever copied the database using the normal [insert OS] Copy
> mechanism? If so, it is possible the header page was copied
> the transaction as uncommitted, then by the time the OS copy got toI don't know will investigate.
> the data page the transaction was committed.
>Windows 2000 and Firebird 1.5.1.4481
> It is of course all speculation at this point. You will need to
> provide the exact OS and Firebird version in use. Otherwise it is
> just guesswork.
>
>All tables use multiple fields, we will look at it.
> select id, count(*)
> from tablewithproblems
> group by id
> having count(*) > 1
>
>
Regards,
Robert.