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

What is mutating table?

Answer Posted / kiran

Mutating" means "changing". A mutating table is a table
that is currently being modified by an update, delete, or
insert statement. When a trigger tries to reference a table
that is in state of flux (being changed), it is
considered "mutating", and raises an error since Oracle
should never return inconsistent data.

Another way this error can occur is if the trigger has
statements to change the primary, foreign or unique key
columns of the table off which it fires. If you must have
triggers on tables that have referential constraints, the
workaround is to enforce the referential integrity through
triggers as well.

Is This Answer Correct ?    36 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write an sql query to select all records from the table?

1079


Is sql similar to python?

1042


How would you reference column values before and after you have inserted and deleted triggers?

1117


who introduced sql?

1074


What are the different types of joins in sql?

1913


What is nosql vs sql?

1225


What does t sql mean?

1002


Explain polymorphism in pl/sql.

1171


What is data types in sql?

1070


Can a table contain multiple foreign key’s?

1054


What are sql constraints?

1228


What is trigger price?

1048


What is scope and visibility in PL/SQL?

1291


How to run sql statements through the web interface?

1094


Why cannot I use bind variables in ddl/scl statements in dynamic sql?

1265