| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Integrity constraint violated
mamin_at_o2.pl wrote:
>> Please read the error message *carefully* and try to understand it. >> It tells you for the ZAMOWIENIA_POZYCJE record with stawka_vat_id 1, >> there is no corresponding FAKTURY_VAT record, with ID 1. >> Unless your constraints are deferred (so they are checked at commit), >> the FAKTURY_VAT parent record needs to be present and committed prior >> to inserting any ZAMOWIENIA_POZYCJE record with STAWKA_VAT_ID 1. >>
Oracle has not generated this constraint for you...this constraint was created when the database schema was designed. The designer of the schema has determined that this business rule must be followed and coded that rule in the form of the constraint. You will have to talk with the database designer to determine why their constraint exists. This may mean talking with your application's vendor.
HTH,
Brian
-- =================================================================== Brian Peasland dba_at_nospam.peasland.net http://www.peasland.net Remove the "nospam." from the email address to email me. "I can give it to you cheap, quick, and good. Now pick two out of the three" - UnknownReceived on Tue Aug 08 2006 - 07:08:43 CDT
![]() |
![]() |