Which of the followings is the final step when it has determined that a transaction has been completed successfully?
A. Rollback
B. Commit
C. Transit
D. None of the Above
Answers
HERE IS YOUR ANSWER :-
Option No. D
Thanx❤❤❤
✌✌✌Follow Me✌✌✌
Answer:
Commit is the final step when it has been determined that a transaction has been completed successfully.
Explanation:
Rollback
Rollback is used to go back to the previous state of the database. Let's say you are performing a money transaction and in the middle of the transaction, your internet stops. Then what will happen? You have sent the money but it is not received by the recipient since the internet stops in middle.
In that case, your transaction will be rolled back and your money will be credited back to your account.
Commit
Commit is used to permanently save the transaction. Once a commit is done it cannot be changed later.
For example, You have sent some amount to your friend and it has been received by your friend. Now neither you nor your friend can deny the atomicity of the transaction because it is permanently saved in the database.
Transit
Transit is only used to share some records or the whole database with some other person. It is used for collaboration purposes.
#SPJ3