| Subject | Re: [firebird-support] foreign key violation | 
|---|---|
| Author | Ann W. Harrison | 
| Post date | 2005-02-02T16:44:03Z | 
flashjobs wrote:
anything specific or unusual about the records in BILLITEMDETAILS that
violate the key constraint? Can you reproduce an insert or a set of
operations that cause the constraint violation?
Regards,
Ann
            >Did you store any data before you defined the foreign key? Is there
>
> Hello!
>
> I have a database in FirebirdSS-1.0.3.972-0
> when i tried to restore this database, i cannot restore, one foreign
> key violation error is coming, but the database is working perfectly
>
> i have identified that there is invalid data(ie. data not in
> BILLMASTER) in foreign key column(BILLNUMBER, BILLTYPE) of
> BILLITEMDETAILS.
>
>
> How these problems are coming?
anything specific or unusual about the records in BILLITEMDETAILS that
violate the key constraint? Can you reproduce an insert or a set of
operations that cause the constraint violation?
Regards,
Ann