Question 36Asked in Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)

Which one of the following commands is used to restore the database to the last committed state?डेटाबेस को अंतिम प्रतिबद्ध स्थिति में पुनर्स्थापित करने के लिए निम्नलिखित में से किस एक कमांड का उपयोग किया जाता है?

डेटाबेस को अंतिम प्रतिबद्ध स्थिति में पुनर्स्थापित करने के लिए निम्नलिखित में से किस एक कमांड का उपयोग किया जाता है?
  1. ASavepointसेवपॉइंट
  2. BRollbackरोलबैक
  3. CCommitप्रतिबद्ध
  4. DBoth "Savepoint" & "Rollback""सेवपॉइंट" और "रोलबैक" दोनों
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 किया जा सके।

From Bihar STET 2024 Paper II Computer Science PYQ, 12 Jun 2024, Shift 1 (10:00 AM)

This is question 36 of Bihar STET 2024 Paper II Computer Science PYQ, 12 Jun 2024, Shift 1 (10:00 AM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.