What is a transaction and what are ACID properties?

Answer Posted / ravina

A transaction is a sequence of sql Operations(commands),
work as single atomic unit of work. To be qualify
as "Transaction" , this sequence of operations must satisfy
4 properties , which is knwon as ACID test.

A(Atomicity):-The sequence of operations must be atomic,
either all or no operations are performed.

C(Consistency):- When completed, the sequence of operations
must leave data in consistent mode. All the defined
relations/constraints must me Maintained.

I(Isolation): A Transaction must be isolated from all other
transactions. A transaction sees the data defore the
operations are performed , or after all the operations has
performed, it can't see the data in between.

D(Durability): All oprtaions must be permanently placed on
the system. Even in the event of system failure , all the
operations must be exhibit.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a view and a stored procedure?

565


How to provide default values to function parameters?

605


What is the chart in report?

111


Stored Procedure returns data from multiple tables. How to access it in your ASP.Net code?

556


What command do we use to rename a db, a table and a column?

508






What are different types of table joins?

562


What is the use of RDBMS?

591


what are the three command line utilities and what are their primary functions?

101


Explain filtered indexes benefits?

597


Explain an incremental backup?

596


How to create a user name in a database?

592


How can you set the threshold at which sql server will generate keysets asynchronously?

565


How do you implement session management in SQL Server mode?

562


What is the importance of concurrency control?

669


Explain what is the difference between a local and a global temporary table?

517