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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Complex Integrity Checking

RE: Complex Integrity Checking

From: <Iulian.ILIES_at_orange.ro>
Date: Tue, 04 Jun 2002 08:08:29 -0800
Message-ID: <F001.00473850.20020604080829@fatcity.com>


I'm reticent about putting the checking code in the application before insert&update statement, although I'm not sure why. I'm just thinking about concurency and all the implications.
On the other hand I wanted to put the bussiness rules on the database side. Anyway, I'll use this approach, you told me, after all. But what if after I check for overlapped intervals, but before inserting, another user insert another record with an interval extending over mine. I know it sounds crazy but I really like to know how this kind of stuff are implemented. That's the way the unique values constraint work, I guess, and I'd like to know more about it.

iulian

-----Original Message-----
Sent: Tuesday, June 04, 2002 6:24 PM
To: Multiple recipients of list ORACLE-L

maybe I'm being simplistic and I know this will impact performance but why not simply do a select to see if the condition exists before the insert or update?


Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rachel Carmichael
  INET: wisernet100_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Iulian.ILIES_at_orange.ro

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Jun 04 2002 - 11:08:29 CDT

Original text of this message

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