SAP Database Question: Download SAP Database PDF

Explain “Commit” and “Roll back” Commands?

Tweet Share WhatsApp

Answer:

The Oracle RDBMS provides a transaction model based on a unit of work. The PL/SQL language supports most, but not all, of the database model for transactions (you cannot, for example, ROLLBACK FORCE). Transactions begin with the first change to data and end with either a COMMIT or ROLLBACK. COMMIT makes the database changes permanent and visible to other database sessions. ROLLBACK undoes the changes made in the current transaction either to the beginning of the transaction or to a savepoint. A savepoint is a named processing point in a transaction, created with the SAVEPOINT statement. Rolling back to a savepoint is a partial rollback of a transaction, wiping out all changes (and savepoints) that occurred later than the named savepoint.

Download SAP Database PDF Read All 9 SAP Database Questions
Previous QuestionNext Question
What happens “Update” command is used without where clause?When spool buffer is full and new spool request is raised what happens to the request ?