What is mutating table?

Answer Posted / pavan_1981

A mutating table is a table that is currently being
modified by an update, delete, or insert statement. For
example, if your trigger contains a select statement or an
update statement referencing the table it is triggering off
of you will receive the error.
Another way this error can occur is if the trigger has
statements to change the primary, foreign or unique key
columns of the table the trigger is triggering off of.

Is This Answer Correct ?    124 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between distinct and unique in sql?

474


What are the two types of periodical indexes?

505


How to get unique records from a table?

525


What is the default isolation level in sql server? : Transact sql

566


How can triggers be used for the table auditing?

594






explain mysql aggregate functions. : Sql dba

549


what is data integrity? : Sql dba

596


Why is there a need for sqlcode and sqlerrm variables?

587


Is sql a dbms?

536


Which command is used to call a stored procedure?

505


Is there a way to automate sql execution from the command-line, batch job or shell script?

557


What is before and after trigger?

518


What is an exception in PL/SQL? What are the two types of exceptions?

629


What is a null value?

659


What is pl/sql language case sensitive?

635