mysql undo delete

Solutions on MaxInterview for mysql undo delete by the best coders in the world

showing results for - "mysql undo delete"
Nolhan
21 Aug 2017
1start transaction;
2
3savepoint sp1;
4
5delete from customer where ID=1;
6
7savepoint sp2;
8
9delete from customer where ID=2;
10
11rollback to sp2;
12
13rollback to sp1;