RE: How to prevent oracle from committing a transaction?

2001-06-05 Thread Vikas Kawatra
What you're seeing is an implicit commit !To prevent it - before exiting the session , issue ROLLBACK; then EXIT vikas -Original Message- Sent: Tuesday, June 05, 2001 12:30 AM To: Multiple recipients of list ORACLE-L Dear DBA Gurus, Can you tell me how to prevent oracle

RE: How to prevent oracle from committing a transaction?

2001-06-05 Thread Sinardy Xing
Hi Ranganath, There are several situation for oracle to commit. one of them of course you type 'commit;' manually others can be : when checkpoint occur when switch redo log occur when LRU function need to find space in your SGA when shutdown normal (am I wrong ?, Oracle rollback or

RE: How to prevent oracle from committing a transaction?

2001-06-05 Thread Vipul Lakhani
set autocommit off (in sqlplus) and i'm not sure but cant you set this to be the default to happen in some glogin.sql file ? -Original Message- Sent: 05 June 2001 08:30 To: Multiple recipients of list ORACLE-L Dear DBA Gurus, Can you tell me how to prevent oracle from

Re: How to prevent oracle from committing a transaction?

2001-06-05 Thread A. Bardeen
Ranganath, AFAIK, this can't be done. A normal exit has an implied commit. Perhaps someone else can suggest a way to do this programmatically. HTH, -- Anita --- Ranganath K [EMAIL PROTECTED] wrote: Dear DBA Gurus, Can you tell me how to prevent oracle from committing a

Re: RE: How to prevent oracle from committing a transaction?

2001-06-05 Thread sfaroult
Alternatively, you can also use QUIT. Stephane Faroult What you're seeing is an implicit commit !To prevent it - before exiting the session , issue ROLLBACK; then EXIT vikas -Original Message- Sent: Tuesday, June 05, 2001 12:30 AM To: Multiple recipients of list ORACLE-L Dear DBA

Re: RE: How to prevent oracle from committing a transaction?

2001-06-05 Thread sfaroult
Sinardy, I am afraid that you are under a number of misconceptions, and confusing writing to disk and commiting. The former is something physical, and the later more logical, althought it is also accompanied by a physical write. Whenever a disk flush occurs, the 'state' of your transaction

Re: How to prevent oracle from committing a transaction?

2001-06-05 Thread MHately
Hi, If you set autocommit off it will rollback any uncommitted transactions by default when you exit SQL*Plus. regards, Mike Hately Oracle DBA -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: [EMAIL PROTECTED] Fat City Network Services-- (858)

Re: How to prevent oracle from committing a transaction?

2001-06-05 Thread Greg Moore
Can you tell me how to prevent oracle from committing a transaction unless unless I explicitly commit it. To do what you are asking, exit sql*plus with the command: exit rollback This will exit you from sql*plus and it will prevent Oracle from committing a transaction unless you have

Re: How to prevent oracle from committing a transaction - Solved

2001-06-05 Thread Ranganath K
Hi DBA Gurus, The following soultion worked for me: Exit Rollback. My special thanks to Marco Rooy van and Ray O'Brien for providing the solution. Regards, Ranganath -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Ranganath K INET: [EMAIL PROTECTED]

RE: How to prevent oracle from committing a transaction?

2001-06-05 Thread MHately
Wow, you're right. Let this be a warning to you all; this is what happens to your brain when you mess with DB2. Just say no kids. = ) Thanks, Mike Hi Mike, I was also thinking so. But it doesn't do so. Setting autocommit off will implicitly commit all your transactions

Re: How to prevent oracle from committing a transaction?

2001-06-05 Thread Jim Hawkins
Keep in mind that if at any point you issue any DDL command, a commit is automatically performed. For example, if you open a SQL*Plus session, insert a few records, then do an alter table ..., those records will be committed. Just a thought... Jim -- Jim Hawkins Lead SAPR/3 Oracle

Re: RE: How to prevent oracle from committing a transaction?

2001-06-05 Thread Diana_Duncan
to: com Subject: Re: RE: How to prevent oracle from committing a transaction

RE: How to prevent oracle from committing a transaction?

2001-06-05 Thread Mike J Kurth
Wait a minute here. Why would oracle do a commit on your transaction just because it needs to do a checkpoint, logfile switch, or shutdown? What if errors occur during validation? Do you think Oracle will commit the data anyways? -- Please see the official ORACLE-L FAQ:

Re: Re: RE: How to prevent oracle from committing a transaction?

2001-06-05 Thread sfaroult
: root@fatcity.Fax to: com Subject: Re: RE: How to prevent oracle from committing

RE: How to prevent oracle from committing a transaction?

2001-06-05 Thread lhoska
Commit will take place after any DDL statement. Besides that, Oracle Complete Reference by George Koch and Kevin Loney states that commit will occur after you execute the following commands: exit, quit, and even connect. If you are worried about unmanaged commits after the sudden instance crash

RE: How to prevent oracle from committing a transaction?

2001-06-05 Thread Hillman, Alex
I did not try it but what if we have a trigger on logoff which will raise application error. Alex Hillman -Original Message- Sent: Tuesday, June 05, 2001 5:05 AM To: Multiple recipients of list ORACLE-L Ranganath, AFAIK, this can't be done. A normal exit has an implied commit.

RE: How to prevent oracle from committing a transaction?

2001-06-05 Thread Richard Ji
No Oracle doesn't do commits for checkpoint, log switch or shutdown normal. It will only commit data explicitliy (using the commit command) or implicitly (DDL). SQL*PLUS by default auto commits for you if you just exit after doing some DML. But you can turn that off. Richard Ji [EMAIL

RE: How to prevent oracle from committing a transaction?

2001-06-05 Thread Diana_Duncan
to: root@fatcity.Subject: RE: How to prevent oracle from committing a transaction? com