oracle savepoint vs commit
INSERT INTO employees (id, name, salary) VALUES (1, 'Jane', 3000);
SAVEPOINT a;
INSERT INTO employees (id, name, salary) VALUES (2, 'John', 2900);
ROLLBACK TO a;
COMMIT;
SELECT * FROM employees; -- John is missing
oracle savepoint vs commit
INSERT INTO employees (id, name, salary) VALUES (1, 'Jane', 3000);
SAVEPOINT a;
INSERT INTO employees (id, name, salary) VALUES (2, 'John', 2900);
ROLLBACK TO a;
COMMIT;
SELECT * FROM employees; -- John is missing
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us