vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| If I come out of the SQL prompt after performing some DML statements and without doing commit, I find that the automatic commit has been done for those statements. I would like to know what exactly is the flag that controls this. I want to set that flag accordingly such that, the transactions are not automatically committed whenever the user comes out of the SQL prompt. Thanks! |
| |||
| qazmlp wrote: > If I come out of the SQL prompt after performing some DML statements > and without doing commit, I find that the automatic commit has been > done for those statements. I would like to know what exactly is the > flag that controls this. I want to set that flag accordingly such > that, the transactions are not automatically committed whenever the > user comes out of the SQL prompt. > Hello qazmlp, Oracle always commits before and after a DML operation. I don't think there is some flag to disable that. Hope that helps, Lothar -- Lothar Armbrüster | la@oktagramm.de Hauptstr. 26 | la@heptagramm.de D-65346 Eltville | lothar.armbruester@t-online.de |
| |||
| "qazmlp" <qazmlp1209@rediffmail.com> a écrit dans le message de news:db9bbf31.0411030852.998d69b@posting.google.co m... > If I come out of the SQL prompt after performing some DML statements > and without doing commit, I find that the automatic commit has been > done for those statements. I would like to know what exactly is the > flag that controls this. I want to set that flag accordingly such > that, the transactions are not automatically committed whenever the > user comes out of the SQL prompt. > > Thanks! Have a look at "set autocommit" statement: http://download-west.oracle.com/docs...13.htm#1012156 -- Regards Michel Cadot |
| ||||
| "Lothar Armbruester" <lothar.armbruester@t-online.de> a écrit dans le message de news:PM0003E7FE586F3A32@hades.none.local... > qazmlp wrote: > > If I come out of the SQL prompt after performing some DML statements > > and without doing commit, I find that the automatic commit has been > > done for those statements. I would like to know what exactly is the > > flag that controls this. I want to set that flag accordingly such > > that, the transactions are not automatically committed whenever the > > user comes out of the SQL prompt. > > > Hello qazmlp, > > Oracle always commits before and after a DML operation. I don't think > there is some flag to disable that. During a DDL statement not a DML statement and only one that changes the dictionary. -- Regards Michel Cadot |
| Thread Tools | |
| Display Modes | |
|
|