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
Different types of keys in SQL?
How to list all dsn entries on your local machine using odbc_data_source()?
What is difference between sql and sql server?
Can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible?
What are the disadvantages of using querystrings to send data from one page to another?
Explain different forms of normalization?
What is a performance monitor?
What is sparse columns of sql server 2008?
What is equi join with example?
What are the source of constraints?
How to sort query output in descending order in ms sql server?
Your company has 50 branches all over the country all the branches, including the head office have sql server as the database every night all 50 branches upload certain information to the head office which replication topology is best suited for the above scenario?
What are user defined functions in ms sql server?
What is meant by referential integrity?
What is a join in sql? What are the types of joins?