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 |
I need a function for a train ticket reservation please answer it thanks in advance
What is function and procedure?
What is insert command in sql?
What is a data manipulation language?
If i can use sys.check_constraints to display my constraints from my database using sql server 2005, how can i display then if i am using sql server 2000????
What are the basic techniques of indexing?
can i create trigger on synonym is it possible or not please help me
How delete all data from table in sql?
What is replication id?
Write a unique difference between a function and a stored procedure.
How can you select unique records from a table?
what is the difference between mysql_fetch_array and mysql_fetch_object? : 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)