Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can you write commit in triggers?

Answer Posted / sudhir

by default Trigger doesnt allow a commit;

however we can create a stored procedure which will only do
commit.

create or replace procedure to_commit_trigger
begin
commit();

end to_commit_trigger


now execute this stored procedure to_commit_trigger inside a
trigger to perform a commit. However it will cause serious
performance issues.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bulk copy or bcp in oracle?

1054


How to declare a local variable?

1063


How do I use os authentication with weblogic jdriver for oracle and connection pools?

1004


How can we force the database to use the user specified rollback segment?

1079


What is a trace file and how is it created in oracle?

986


What is key preserved table?

969


How to set a transaction to be read only in oracle?

1040


How to use like conditions in oracle?

1002


What happens to the data files if a tablespace is dropped?

1000


What happens internally when the user types userID/password@string in SQL PLUS Thanks-Bhaskar

4491


Can multiple cursors being opened at the same time?

1023


What do you mean by redo log file mirroring?

983


What is the difference between hot backup and cold backup in oracle?

967


How to view existing locks on the database?

1003


Is there any way to find out when one specific table/view/M-view is used last time. i.e. when one specific object is used in any SELECT statement.

1296