Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
We Have Mistakenly Dropped a Table in my DB and am using MySql . Is it Possible to ROLL Back or any other options . Please Provide your Valuable Suggestions
And did you drop or delete from the table? Did you use DROP TABLE t; or DELETE FROM t ;? If you used DELETEinside a transaction, you can of course ROLLBACK the transaction and everything will be fine.
DROP TABLE t;
orDELETE FROM t ;
? If you usedDELETE
inside a transaction, you can of courseROLLBACK
the transaction and everything will be fine.