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

Home -> Community -> Usenet -> c.d.o.misc -> psql commit

psql commit

From: tony <bigtoehere_at_hotmail.com>
Date: Thu, 02 Mar 2006 16:27:58 -0400
Message-ID: <nvke02lrkdh85onmbegjmihjp7v1e30hrk@4ax.com>


I would like to know when exactly the implied commit takes place in a plsql block.

for example:

BEGIN    if flag is 'Y'
     update table a set ......
   end if

   send email to someone yada, yada...
   do some html stuff...

END I'm wondering if I can be sure the commit takes without explicitly coding it if something goes wrong after the sql part but before the END. Received on Thu Mar 02 2006 - 14:27:58 CST

Original text of this message

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