Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: How to ensure data consistency?

Re: How to ensure data consistency?

From: Laconic2 <laconic2_at_comcast.net>
Date: Wed, 8 Sep 2004 14:26:35 -0400
Message-ID: <ap-dndW9qNif0qLcRVn-uQ@comcast.com>


Either I'm misunderstanding you completely, or what you are trying to do requires the ability to defer constraint checking until COMMIT time.

If you can defer the constraints, then your do the insert to the main table and the inserts to the corresponding secondary table in the same transaction. By the time you do the COMMIT, everything is OK.

If your constraints are always evaluated at the time of an action, you're in CATCH-22. Received on Wed Sep 08 2004 - 13:26:35 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US