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 sap sql anywhere?
What is not in sql?
Why do we use subquery?
What is a pragma statement?
how do you restrict number of rows for a particular value in a column.For example:there is a table called fruits,having apples,bananas ,papayas.I dont want to have more than 100 apples in that table ,so how can u restrict number of rows for apple to hundred?
Explain the difference between cursor declared in procedures and cursors declared in the package specification?
Is id a reserved word in sql?
what is the difference between union and union all
14 Answers IBM, Luxoft, Oracle,
how to create temparary sequence
what are different types of collation sensitivity? : Sql dba
What is dba in sql? : SQL DBA
How would you pass hints to the sql processor?
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)