What is transaction ? Give me one example.

Answer Posted / ashique

Transaction is a database operation that satisfies following
a condition called ACID:

A (Atomicity) : Do all the operations successfully Or None.
C (Consistency) : The operation should not violate data
integrity concept.
I (Isolation) : When one person is manipulating the data,
others should wait (i.e synchronization).
D (Durability): Once transaction is over succesfully, the
changes should be permanent at any cost.

The best example of a simple transaction is bank fund
transfer from one account to another. Try to implement above
points using your common sense. Thank you :)

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you force a query to use a specific index?

611


what method you can use to reduce the overhead of Reporting Services data sources?

175


can any body tell me how to know the password of current user in sql server

1668


What is policy based management (pbm)? : sql server database administration

659


How to insert data into an existing table?

636






What is the function of inner join?

648


Is null in sql server?

651


How to view the error log for any specific instance? : sql server database administration

676


What is store procedure? How do they work?

671


Introduction of rollup clause using sum and group by clause?

626


What happens to a trigger with multiple affected rows?

610


What is sqlcmd?

629


List some advantages and disadvantages of stored procedure?

658


What are the encryption mechanisms in sql server?

660


Explain different types of index?

686