if I recall correctly, implicit commits are done

a) on a clean exit from sqlplus
b) on a clean exit from a stored program
c) if you do a DDL statement after the DML statement

but this is from memory and without checking manuals.


--- John Dunn <[EMAIL PROTECTED]> wrote:
> 
> > Under what circumstances is a COMMIT done implicitly?
> > 
> > If I call a function or procedure that performs an insert, but does
> not do
> > a commit, will a commit be implicitly performed when the function
> ends?
> > 
> > i.e. is ...
> > 
> > begin
> >    
> >      INSERT INTO
> >          ... etc.
> > 
> > end;
> > 
> > the same as 
> > 
> > begin
> > 
> >     insert_the_record;
> > 
> > end;
> > 
> > where insert_the_record  is a procedure that does the insert, but
> nothing
> > else.
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: John Dunn
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Rachel Carmichael
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to