简体   繁体   中英

How to recover table after drop it in SQL Server

I drop a table in SQL Server using this code:

DROP TABLE temp

Now, I try to recover this table, but I don't know a solution.

Please, tell me a solution for this problem if you know.

If DROP TABLE was executed inside the Transaction and it has not been committed then you can ROLLBACK. But if it isn't, then you need backup of your database. Recover your table from database. If backup is also not present, then search for 3rd party recovery tools.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM