Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Using insert statements in triggers and functions
here is the only context I would use AUTONOMOUS_TRANSACTION in:
EXCEPTION
WHEN OTHERS THEN
LOG_SQL_ERROR(SQLCODE, SQLERRM, 'Module_name', TRIM(param1) || '-' ||
TRIM(param2));
ROLLBACK;
RAISE;
so that the rollback does not erase the row from the errog log
I would very strongly advise against using AUTONOMOUS_TRANSACTION in
any other situation
Received on Wed Jul 13 2005 - 15:54:15 CDT
![]() |
![]() |