Can you use a commit statement within a database trigger?

Answers were Sorted based on User's Feedback



Can you use a commit statement within a database trigger?..

Answer / charan

Hi this is charan...
Actually Not allowed TCL commands in trigger...but it is possible we are not use directly these commands...to over come this problem oracle introduced one concept is called "Autonomous Transactions" .through autonomous transaction we are using tcl commands in Trigger concept....This is according to my knowledge

Is This Answer Correct ?    2 Yes 1 No

Can you use a commit statement within a database trigger?..

Answer / karthik

yes, by autonomous transaction we can use commit.

Is This Answer Correct ?    1 Yes 0 No

Can you use a commit statement within a database trigger?..

Answer / vaibhav

No

Is This Answer Correct ?    2 Yes 2 No

Can you use a commit statement within a database trigger?..

Answer / usingh

Yes, using AUTONOMOUS_TRANSACTION Pragma you can COMMIT and ROLLBACK.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Oracle General Interview Questions

SELECT THE RECORDS FROM 3 TABLES LIKE(T1,T2,T3) AND HOW CAN WE INSERT THAT RECORD IN ANOTHER TABLE LIKE(T4)?

1 Answers   ESS,


Anybody can tell me, how do we find second largest emp salary from emp table.. Thanks in advance ...

10 Answers   Cognizant, ID, NTTF Nettur Technical Training Foundation, Sony, Verizon,


What is SAVE POINT ?

5 Answers  


In not less than 100 words what's the main difference between Rolap and Molap in ORACLE ?

0 Answers  


Which Database is the best for the Security issue ? 1. DB2 2.SQL Server 3.MySQL 4.ORACLE

1 Answers  






What is key preserved table?

0 Answers  


Is primary key indexed by default in oracle?

0 Answers  


What is concurrency in oracle?

0 Answers  


Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).

0 Answers  


What is the difference between RBBMS & DBMS?

4 Answers  


I have table-A(1,2,3,4,4,5,6,6,6,7). how to get all duplicate values?what is sql query?

5 Answers   Zensar,


What are the components of Physical database structure of Oracle Database?

4 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)