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

what is the difference between rollback & commit? can a foreign key has null value?

6 Answers  


dear sir/madam, i have done my engg in 2007 after that i did oracle course (sql,plsql,forms,reports) .from 2008 to 2009 i searched job but didnt got.so i planned to move to sales field & i gone to dubai.till now i m in sales only.now i want to shift my career in to IT industry.but now people are not hiring as fresher.so i planned put fake 1 + exp. is it good or bad or any other way is there to enter in IT.please suggest me or call me 09632087338.

3 Answers  


How to drop a tablespace?

0 Answers  


What is concurrency in oracle?

0 Answers  


How to load data from external tables to regular tables?

0 Answers  






How to create id with auto_increment on oracle?

0 Answers  


What are the parameters that we can pass through a stored procedure?

0 Answers  


What is the difference between SQL, DDL, and DML?

7 Answers   BeBo Technologies, Wipro,


which clause we are not used in where clause?

3 Answers   Semantic Space,


What do you mean by a tablespace?

0 Answers  


What is background process in Oracle?

0 Answers   MCN Solutions,


What is oracle open database communication (odbc)?

0 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)