What is a transaction and what are ACID properties?
Answer Posted / sonu
A transaction is a sequence of sql Operations,
work as single atomic unit of work. To be qualify
as a "Transaction" , this sequence of operations must satisfy 4 properties , which is knwon as ACID test.any database must follow these acid properties.
Atomicity:-The sequence of operations must be atomic,
either all or no operations are performed.
Consistency:- When completed, the sequence of operations
must leave data in consistent mode. All the defined
relations/constraints must me Maintained.
Isolation: A Transaction must be isolated from all other
transactions. A transaction sees the data before the
operations are performed , or after all the operations has
performed, it can't see the data in between.
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 ? | 7 Yes | 10 No |
Post New Answer View All Answers
How are the exceptions handled in sql server programming?
What were the latest updates to SQL Azure service?
What is difference between foreign key and unique key?
Explain can SSRS reports Cache results?
Explain stored procedure?
What do you understand by triggers?
Mention what are the different types of ssrs reports?
What is the name of reporting services config file and what’s it’s used for?
What do you understand by coalesce in sql server?
Write a sql query to sort on different column name according to the parameters passed in the function?
Why I have to use stored procedures?
Explain the steps needed to create a scheduled job?
Insert syudents details in table.Current system date &time insert into joining time.How do insert?( in sysdate only return current system date how do add time?)
What different steps will a sql server developer take to secure sql server?
What is an indexing strategy?