IF i write before / after insert / update trigger and i do
rollback what will happen?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / vivek
The data whatever inserted/updated will be rollback once issue rollback
Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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);
What are the Restrictions on Cursor Variables?
What is the difference between left join and left outer join?
What is posting?
Why is pl sql used?
Is mariadb nosql?
query to retrive the employees whose sal is greater than avg sal
what are the authentication modes in sql server? : Sql dba
What is trigger explain it?
Mention what does the hierarchical profiler does?
What action do you have to perform before retrieving data from the next result set of a stored procedure ?
What is RAC in oracle?