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 a REF CURSOR? Compare strong and week ref cursor types.
What are sql procedures?
Explain the uses of a database trigger?
Can you have more than one trigger on a table?
What are dml commands?
Do you know the basic structure of PL/SQL?
what is the difference between sql and t-sql? : Transact sql
How many columns should be in an index?
Do ddl statements need commit?
What is the difference between a primary key and a unique key?
Explian rowid, rownum? What are the psoducolumns we have?
explain normalization concept? : Sql dba
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)