SQL - Transactions and Data Integrity
Consider this transaction:
What rows will be in the
BEGIN TRANSACTION; INSERT INTO orders VALUES (1, 'Book'); SAVEPOINT sp1; INSERT INTO orders VALUES (2, 'Pen'); ROLLBACK TO sp1; COMMIT;
What rows will be in the
orders table after commit?