Committing and Rolling Back Changes |
||||
| If data manipulation statement complete and if no error occurred, database modifications through embedded insert, update, and delete statements must be committed. This is done by using the following SQL statement COMMIT; If an error occurred and previous non-committed data modifications need to be undone, the embedded SQL statement ROLLBACK; By default any Oracle database is configured with option Auto-commit off. You have to execute COMMIT comand after every data manipulation statement; | ||||
|
Update employee Shawn Adams and change the HIREDATE value to April 1, 2001. |
||||