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: Using insert statements in triggers and functions

Re: Using insert statements in triggers and functions

From: AK <AK_TIREDOFSPAM_at_hotmail.COM>
Date: 13 Jul 2005 13:54:15 -0700
Message-ID: <1121288055.270260.60290@g43g2000cwa.googlegroups.com>


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

Original text of this message

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