What is mutating trigger?How to avoid it??

Answer Posted / surendra reddy

Mutaing error happens with triggers. It occurs because the
trigger is trying to update a row it is currently using.
The usual fix involves either use of views or temporary
tables so the database is selecting from one while updating
the other.

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

C. Normalize the following data up to the 3rd Normal form. Create the tables and insert the data given. Emp_ID Name Dept_Name Salary Course_Title Date_Completed 100 Adam Marketing 48,000 SPSS 6/19/2008 Surveys 10/7/2008 140 Bob Accounting 52,000 Tax Acc 12/8/2008 110 Cathy IT SQL Server 1/12/2008 C# 4/22/2008 190 Dan Finance 150 Emily Marketing 55,000 SPSS 6/16/2008 42,000 Analysis 8/12/2008 Queries 1. Find all Names who have completed the SPSS Course. 2. Find employee with max salary. 3. Find employee with 2nd max salary. 4. Find all employees in Dept “Marketing”. 5. Find all the employees who have taken more than 2 courses. 6. Find all the employees who have completed the courses before month of September.

2171


Why we use cross join?

538


How to run sql*plus commands in sql developer?

589


Is primary key always clustered index?

533


what is a stored procedure? : Sql dba

550






What is data profiling in sql?

511


what is the difference between $message and $$message? : Sql dba

545


Difference between table function and pipelined function?

583


What are the different tcl commands in sql?

618


What port does sql server use?

504


What is clause in sql?

581


What is posting?

605


What are transaction and its controls?

559


What is an invalid partition table?

564


What are inner outer left and right joins in sql?

515