Exforsys

Online Training

Auto Commit

This is a discussion on Auto Commit within the Oracle Database forums, part of the Database category; I want to know the commands in Oracle that would cause an automatic commit. Can anyone provide me the list ...


Go Back   Exforsys > Database > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-20-2006, 03:06 PM
Senior Member
 
Join Date: Apr 2006
Posts: 139
Ralph is on a distinguished road
Auto Commit

I want to know the commands in Oracle that would cause an automatic commit. Can anyone provide me the list of these commands.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-21-2006, 05:47 AM
Junior Member
 
Join Date: Aug 2006
Posts: 5
gpraveen_mca is on a distinguished road
SET AUTOCOMMIT ON - this command will set automatic commit on.
SET AUTOCOMMIT OFF - this command will set automatic commit off.
SHOW ALL - this command is used to view the commit status.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-23-2006, 03:04 PM
Senior Member
 
Join Date: Apr 2006
Posts: 139
Ralph is on a distinguished road
Friend the option that you said are for setting he autocommit on and off. BUt my doubt is what are all the commands in oracle that would get commited automatically.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-25-2006, 07:50 AM
Junior Member
 
Join Date: Dec 2006
Posts: 8
oracleobsessed is on a distinguished road
all DDL statements in oracle ends in a auto commit, examples can be using CREATE, ALTER,DROP,RENAME,TRUNCATE....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-28-2006, 02:48 PM
Senior Member
 
Join Date: Apr 2006
Posts: 139
Ralph is on a distinguished road
Ohh that's nice to know. Will the commands Select and Insert cause automatic commit.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-28-2006, 11:49 PM
Junior Member
 
Join Date: Dec 2006
Posts: 8
oracleobsessed is on a distinguished road
No select and Insert are DML statements and wont provide an autocommit, 'select' infact dont have to be comitted as u are just viewing data that has already been written to datafiles, insert may be lost if hav an abnormal shutdown occur.
But for DDL statements that i mentioned before u will hav ur changes auto commited as soon as u perform them and these doesnt require a clean shutdown.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-14-2007, 01:34 PM
Junior Member
 
Join Date: Dec 2006
Posts: 5
nagivijay is on a distinguished road
Thumbs up Auto commit

DML statements doen't autocommit the transaction until you do so, remeber when your performing commit or rollback statements thats only for your log session. when your perform DDL statements and DCL statements they usually autocommit the session, remember if you had performed a DDL,DCL statement, after an DML it will auto commits the entire session (so be careful with DDL, DCL).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new questions
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
FAQ in GL,AP,AR prasant25 Oracle Apps 6 01-29-2007 06:19 AM
Query and List, PhP Main Page Auto Listing of User Actio CarryD PHP 0 09-02-2006 04:51 PM
Auto CADD Engineer (Position At Our Delhi/Noida office) techguru Freshers Jobs 0 05-17-2005 06:59 AM
Auto CAD Engineer(Fresher 0-6 Months Exp.) techguru Freshers Jobs 0 05-16-2005 07:40 AM
Auto Desk India recruits Freshers from top Institutes techguru Freshers Jobs 0 05-02-2005 08:27 AM


All times are GMT -4. The time now is 05:21 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.