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

Is the After report trigger fired if the report execution fails ?

2876


What are triggers in oracle?

976


How to assign values to data fields in record variables?

973


How can I create database in oracle?

958


Explain compound trigger in oracle?

985


How to pass a parameter to a cursor in oracle?

1102


Can we use oracle pl/sql block in core java? if so how? pls get back to me .....

2899


Is it possible to set second Primary Key Constraint in a table in Oracle Database ?

1056


What is an oracle transaction?

1051


Explain the difference between a procedure and a function? What do you understand by those terms?

1020


Difference between open_form and call_form in oracle.

1092


How do I connect to oracle database?

1023


How to use group functions in the select clause using oracle?

1022


How to start a specific oracle instance?

989


How to loop through data rows in the implicit cursor?

1014