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

Explain try...catch with sql server?

0 Answers  


After using delete statement in sql query to delete some records...to retrieve the deleted records we can get using rollback command but till that where it stores means particular location name i need....(after deleting and rollback )

3 Answers   CarrizalSoft Technologies, iGate,


What is the use of =,==,=== operators?

0 Answers  


Can you explain what are commit and rollback in sql?

0 Answers  


Is it possible in sql table to have more than one foreign key?

0 Answers  






What is lookup override?

0 Answers   Informatica,


What is Outter Join?

1 Answers  


What are the advantages of using third-party tools?

0 Answers  


Using query analyzer, name 3 ways you can get an accurate count of the number of records in a table?

5 Answers   eFunds,


Mention the differences between substr and charindex in sql server.

0 Answers  


What are the different types of backups avaialabe in sql server 2005?

0 Answers  


What is clustered primary key?

0 Answers  


Categories