Time:10-25
CodePudding user response:
C, the answer you actually do a test to know myself, Hint: Oracle DDL implied both before and after the commit
behind a rollback, roll back then return to execute the command before,
Rollback is the inverse operation, commit Rollback mainly do the following things: to cancel all has been modified, the complete way is as follows: read back the data from the undo segment, and then actually reverse the previous operations, and to undo the entry is marked as I use it, if the previous insert a line, the Rollback will delete them, if have updated the line, the Rollback will cancel the update, if you remove a line, roll back the insert it again, Will roll back to the commit operation state, you've done your this several SQL did not submit, so will be rolled back to the initial state, and of course this is only for this kind of insert/delete/update data operation, create a table rolled back, that is to say after the rollback b table still exist, but the former several insert data of SQL are rolled back off,
https://www.cnblogs.com/fan-yuan/p/7879353.html
Page link:https//www.codepudding.com/database/71999.html