What is mutating trigger?How to avoid it??

Answer Posted / megha bidve

Use autonomous transactions because is it we can use commit
inside the trigger.

Autonomous transactions allow you to leave the context of
the calling transaction, perform an independant
transaction, and return to the calling transaction without
affecting it's state. The autonomous transaction has no
link to the calling transaction, so only commited data can
be shared by both transactions.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is left join faster than inner join?

841


in oracle 10g sw after compiling procedure how to pass parameter values ,if we (v_empid out number)how to give empid after successful compilation program.This site exact suitable for 10g with respect to question & answer same format , im trying sql browser & sql command prompt using exec procedure name & respective parameters.

1838


What is offset in sql query?

823


What does <> sql mean?

712


Are sql database names case sensitive?

687






How do I run a script in sql developer?

703


What makes a good primary key?

731


Why functions are used in sql?

703


What is dbo in sql?

706


What are all the different normalizations?

745


What is a left inner join?

709


what are myisam tables? : Sql dba

722


What is difference between db2 and sql?

721


Lookups are a key component in sql server integration services (ssis). Explain its purpose?

758


what are dynamic queries in t-sql? : Transact sql

745