Answers for "undo mysql delete"

SQL
14

mysql delete

DELETE FROM table_name
WHERE some_column = some_value
Posted by: Guest on April-23-2020
0

mysql undo delete

start transaction;

savepoint sp1;

delete from customer where ID=1;

savepoint sp2;

delete from customer where ID=2;

rollback to sp2;

rollback to sp1;
Posted by: Guest on June-01-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language