IF i write before / after insert / update trigger and i do
rollback what will happen?

Answers were Sorted based on User's Feedback



IF i write before / after insert / update trigger and i do rollback what will happen?..

Answer / debasis mohanty

A trigger May Not issue A TCL statement like COMMIT,ROLLBACK,SAVEPOINT.
So U Cant Write A TCL Command Inside A trigger.

Is This Answer Correct ?    10 Yes 3 No

IF i write before / after insert / update trigger and i do rollback what will happen?..

Answer / ankit sinha

But if put a autonomous transaction with a rollback i think
we can do it ..

Is This Answer Correct ?    7 Yes 1 No

IF i write before / after insert / update trigger and i do rollback what will happen?..

Answer / revathi

yes

Is This Answer Correct ?    3 Yes 1 No

IF i write before / after insert / update trigger and i do rollback what will happen?..

Answer / vivek

The data whatever inserted/updated will be rollback once issue rollback

Is This Answer Correct ?    0 Yes 0 No

IF i write before / after insert / update trigger and i do rollback what will happen?..

Answer / abhijit

we cant use tcl commands in trigger,,,
if we call procedure in trigger then we can use pragma autonomous transaction for tcl

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SQL PLSQL Interview Questions

3. Select sum(a) sum_1,max(a) max_1 ,count(a) count_1 from ( ( select 1 a from dual union all Select to_number(‘2011’) a from dual union all select 1 a from dual) union select 2 b from dual);

1 Answers   Fintellix,


What are the Restrictions on Cursor Variables?

2 Answers  


What is the difference between left join and left outer join?

1 Answers  


What is posting?

0 Answers  


Why is pl sql used?

0 Answers  






Is mariadb nosql?

0 Answers  


query to retrive the employees whose sal is greater than avg sal

10 Answers   TCS,


what are the authentication modes in sql server? : Sql dba

0 Answers  


What is trigger explain it?

0 Answers  


Mention what does the hierarchical profiler does?

0 Answers  


What action do you have to perform before retrieving data from the next result set of a stored procedure ?

0 Answers   Microsoft,


What is RAC in oracle?

7 Answers   MCN Solutions,


Categories