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
What are indexers?
What is a with(nolock)?
What is the query and subquery?
How to enter binary string literals in ms sql server?
When we should use @@error?
What is “asynchronous” communication in sql server service broker?
What is the default order of an order by clause?
What is 2nf example?
Tell me the use of keyword with encryption. Create a store procedure with encryption?
What are the new features in SQL Server 2005 when compared to SQL Server 2000?
What are the disadvantages of primary key and foreign key in SQL?
What is tabulation?
How do I manually uninstall an instance of sql server 2016?
Tell about MOM Tool(Microsoft Operator Manager)?
1)what is the difference between Reinitializing a Subscription and synchronization the subscription? 2)when to use reinitializing ? 3)when to use synchronization? 4)when adding table or deleting a table what to do?(reinz.. or syn) 5)when adding a column what to do?