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

How sql server enhances scalability of the database system?

778


What is “asynchronous” communication in sql server service broker?

719


How to connect Azure federated root database and apply federation in entity framework?

101


List the different index configurations possible for a table?

680


How can you tell if a database object is invalid?

785






Can you pass expressions to function parameters?

724


What are the system database in sql server 2008?

731


Explain what are the basic functions for master, msdb, model, tempdb databases?

704


Explain the xml support sql server extends?

810


How do clustered indexes store data?

799


What is the difference between delete and truncate statements?

746


what is a deadlock? : Sql server database administration

680


Can I save my report as html, excel or word? : sql server management studio

728


Explain cursor as data base object?

767


What are the different types of replication are there in sql server 2000?

760