Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Help Creating trigger
ajaysm85_at_gmail.com wrote:
> I have written a SQL script containing many create/insert statements.i
> have to write a trigger which will be raised for failure of any
> statement in that script.can a trigger be written which will be raised
> for each statement and then the trigger code will check for the
> status(success or fail) of that statement?or can anybody suggest any
> proper solution for this?
>
> thanks in advance...
Forget the trigger. Write your SQL script in PL/SQL and use the error handling features available there. Received on Thu Oct 12 2006 - 07:24:55 CDT
![]() |
![]() |