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

What are the types of functions in sql?

575


What is union, minus and interact commands?

757


What is #table in sql?

528


what is the difference between nested subquery and correlated subquery?

562


How much does a sql dba make? : SQL DBA

522






Is progress software supports to ( pl/sql )?

544


how to present a past time in hours, minutes and seconds? : Sql dba

580


How do you optimize a query?

545


How can you tell the difference between an index and a view?

502


How do I make sql search faster?

562


Explain aggregate functions are available there in sql?

543


Enlist some predefined exceptions?

600


- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?

1395


How do I run a sql query in pgadmin 4?

556


what is sql? : Sql dba

566