What are explicit and implicit transactions?

Answers were Sorted based on User's Feedback



What are explicit and implicit transactions?..

Answer / lara

When a connection is operating in implicit transaction mode
MS SQL automatically starts a new transaction after the
current transaction is committed or rolled back.Implicit
transaction mode generates a continuous chain of
transactions.

An explicit transaction is one in which you explicitly
define both the start and end of the transaction.A user has
to use the BEGIN TRANSACTION, COMMIT TRANSACTION, COMMIT
WORK, ROLLBACK TRANSACTION, or ROLLBACK WORK Transact-SQL
statements to define explicit transactions.

Is This Answer Correct ?    24 Yes 1 No

What are explicit and implicit transactions?..

Answer / vasudeva naik

Explicit transactions must be explicitly started with the
BEGIN TRAN statement, whereas no BEGIN TRAN is necessary to
start a multistatement transaction when in implicit
transaction mode.

Is This Answer Correct ?    16 Yes 2 No

What are explicit and implicit transactions?..

Answer / anton

Implicit transactions are used automatically ACID
properties,mean would be updated or none of them would.

Explicit transactions are started by using the BEGIN
TRANSACTION T-SQL command and are stopped by using the
COMMIT TRANSACTION or ROLLBACK TRANSACTION commands.

Is This Answer Correct ?    3 Yes 3 No

What are explicit and implicit transactions?..

Answer / chintan

IMPLICIT TRANSACTION: When turned on by using "SET
IMPLICIT_TRANSACTION ON" during transaction you have to
issue 'COMMIT TRAN' command in order to commit transaction.

EXPLICIT TRANSACTION: By default in SQL Server when you
finish a transaction it is committed to the database.

Is This Answer Correct ?    9 Yes 22 No

Post New Answer

More SQL Server Interview Questions

What is the distinction amongst delete and truncate?

0 Answers  


What is normalization? Explain its different types?

0 Answers   GE, Maveric,


Are there any preferred steps that need to be taken care of before starting the installation of sql server 2000?

0 Answers  


What is conditional split?

0 Answers  


How to find the date and time of last updated table?

3 Answers  






What are the types of table?

0 Answers  


Is natural join and equi join same?

0 Answers  


How to defragment indexes with alter index ... Reorganize?

0 Answers  


Explain the etl (extraction, transformation, and loading)?

0 Answers  


Can we create a clustered index on composite primary key.

3 Answers   IGT,


How can we delete Duplicate row in table?

0 Answers   Wipro,


Department ----------- salary Deptname 1000 A 3000 A 2000 B 3000 B 4000 C 5000 C select the deptname where salary >=5000 result should be: Deptname --------- C please post only executed query in SQL server 2005 Asked By: Md. Niyaz

3 Answers  


Categories