How can I roll back my last delete command in MySQL?

后端 未结 10 2143
臣服心动
臣服心动 2020-12-25 09:32

I accidentally deleted some huge number of rows from a table...

How can I roll it back?

I executed the query using PuTTY.

I\'ll be grateful if any of

10条回答
  •  既然无缘
    2020-12-25 10:27

    I also had deleted some values from my development database, but I had the same copy in QA database, so I did a generate script and selected option "type of data to script" to "data only" and selected my table.

    Then I got the insert statements with same data, and then I run the script on my development database.

提交回复
热议问题