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

Home -> Community -> Usenet -> c.d.o.server -> Re: Array DML and before insert trigger

Re: Array DML and before insert trigger

From: Martin <mjones.satisdata_at_btinternet.com>
Date: Wed, 23 Jun 1999 18:24:41 +0100
Message-ID: <7kr54e$5pk$1@uranium.btinternet.com>


Try using stored procedures as the DML target type for the block - this should allow
you extra processing choice - raising a failure in a PRE-INSERT will halt commit
processing in a block.

--
Regards
Martin Jones


OCP - DBA
OCP - Application Developer
---------------------------------------------
Peter Laursen < ptl_at_edbgruppen.dk> wrote in message news:01bebd63$ebc4ae60$2c289a0a_at_apollo...
> I have an application that uses array dml to make inserts into a table. I
> need to reject some of the rows - thats is some of the rows must not be
> inserted under some conditions.
> Can I make a before insert trigger, that for each row tests this
condition,
> and then rejects the row? The trigger cant do commit/rollbacks since this
> is controlled by the application.
>
> Thanks
> Peter
>
Received on Wed Jun 23 1999 - 12:24:41 CDT

Original text of this message

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