Oracle database on trigger fail rollback

Posted by GigaPr on Stack Overflow See other posts from Stack Overflow or by GigaPr
Published on 2010-04-24T12:05:30Z Indexed on 2010/04/24 12:13 UTC
Read the original article Hit count: 129

Filed under:
|

Hi

I want to create a trigger that execute on update of a table.

in particular on update of a table i want to update another table via a trigger but if the trigger fails (REFERENTIAL INTEGRITY-- ENTITY INTEGRITY) i do not want to execute the update anymore.

Any suggestion on how to perform this?

Is it better to use a trigger or do it anagrammatically via a stored procedure?

Thanks

© Stack Overflow or respective owner

Related posts about triggers

Related posts about Oracle