Answers for "oracle savepoint vs commit"

SQL
2

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
Posted by: Guest on September-11-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language