Is it possible to use Transaction control Statements such a
ROLLBACK or COMMIT in Database Trigger ? Why ?

Answer Posted / deva

yes we cannot make TCL commands with in triggers. If the
block is declared as a autonomous transaction, then commit
and rollback can be given in the end of the block

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do you partition data?

723


What types of commands can be executed in sql*plus?

764


What is t sql used for?

732


How does sql store data?

663


Which tcp/ip port does sql server run?

715






Is it possible to pass parameters to triggers?

777


how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba

729


What are user defined functions?

759


What are some predefined exceptions in pl/sql?

744


How do I audit the sql sent to the server?

730


How do I create a sql database?

710


What is natural join in sql?

709


How can we make an if statement within a select statement?

734


what is csv? : Sql dba

757


what are enums used for in mysql? : Sql dba

816