Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Complex Integrity Checking
Hi guys. Here's my problem.
I want to check the new values (when inserting&updating a table) against the
ones in the existing rows. Something like checking for duplicate values, but
using a unique constraint doesn't suit my needs.
I think of a before insert&update trigger, wherein checking my condition and
raise a error if not valid. The problem is, in case of an update statement,
I get the mutating "ORA-04091 table <my table> is mutating....".
I read a lot of doc but I didn't find any helping ideas. Can you give me
some, or maybe a new approach to this kind of problem?
Thanks in advance!
iulian
--
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 - 08:58:30 CDT
![]() |
![]() |