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 |
What is the Subquery?
What are the syntax and use of the coalesce function?
How many aggregate functions are available there in sql?
How can you get sql*loader to commit only at the end of the load file? : aql loader
discuss about myisam index statistics collection. : Sql dba
How do I save a sql query?
How to get unique records from a table?
How do I remove sql developer from windows 10?
What is count * in sql?
What are types of indexes in sql?
Can we use commit inside a trigger?
wht is the difference between truncat,drop in sqlserver wht is the difference between function and stored procedure