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...

Is it possible to use Transaction control Statements such a
ROLLBACK or COMMIT in Database Trigger ? Why ?

Answer Posted / nishi

We can't write COMMIT or ROLLBACK in triggers, because the triggering event may commit or may not. trigger commit or rollback is based on triggering event.

even we can't call a subprogram in a trigger which is having commit or rollback.

but we can achieve through pragma autonomous transaction.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is full outer join same as cross join?

919


how to create a new table by selecting rows from another table in mysql? : Sql dba

1021


What is example of database?

996


How many types of functions are there in sql?

902


What is dense_rank?

891


How to convert comma separated string to array in pl/sql?

1121


What are instead of triggers?

1004


How many sql statements are used?

971


how to increment dates by 1 in mysql? : Sql dba

934


what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba

1093


What is offset in sql query?

1081


what is the difference between group by and order by in sql? : Sql dba

1068


Why we use stored procedure instead of query?

958


What is pl sql in oracle?

999


Is sql better than excel?

1072