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
Is postgresql a nosql database?
How does rowid help in running a query faster?
who introduced sql?
How to convert comma separated string to array in pl/sql?
Does sql view stored data?
Can we insert delete data in view?
Why stored procedure is better than query?
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.
Explain the structure of pl/sql in brief.
What is triggering circuit?
What is the purpose of the primary key?
What are different types of triggers?
what is the difference between inner and outer join? Explain with example. : Sql dba
Explain the purpose of %type and %rowtype data types?
What is difference between rank () row_number () and dense_rank () in sql?