Which one of the following commands is used to restore the database to the last committed state?डेटाबेस को अंतिम प्रतिबद्ध स्थिति में पुनर्स्थापित करने के लिए निम्नलिखित में से किस एक कमांड का उपयोग किया जाता है?
डेटाबेस को अंतिम प्रतिबद्ध स्थिति में पुनर्स्थापित करने के लिए निम्नलिखित में से किस एक कमांड का उपयोग किया जाता है?
Show answerHide answer
Correct answer: (B) Rollbackरोलबैक
Explanation
ROLLBACK undoes all changes of the current transaction and returns the database to the state of the last COMMIT. SAVEPOINT only marks a point inside a transaction to roll back to.ROLLBACK मौजूदा transaction के सभी बदलाव पलट देता है और डेटाबेस को अंतिम COMMIT वाली स्थिति में लौटा देता है। SAVEPOINT केवल transaction के भीतर एक बिंदु चिह्नित करता है जहाँ तक rollback किया जा सके।