是否可以恢复您已在Sql Server中删除的表的列? [英] Is it posible to recover the column of a table that you already dropped in Sql server?

查看:92
本文介绍了是否可以恢复您已在Sql Server中删除的表的列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于头晕,我不小心删除或删除了SQL Server数据库中表的列...:)

I accidentally dropped or delete the column of a table in our sql server database due to dizziness... :)

推荐答案

您也许可以使用交易日志以获取一些已删除的数据,但某些操作不会被存储事务日志(例如截断表).不知道事务日志是否存储列删除操作.

但是,如果您的DBA保留数据备份,则可以回滚到上一次备份.如果您是DBA,但您不保留备份...那么就羞愧于您,您可能会被搞砸.
You might be able to use the transaction log to get some of the deleted data, but some operations are not stored by the transaction log (such as truncating tables). Not sure if a column drop would be stored by the transaction log.

Although, if your DBA keeps backups of the data, you could rollback to the last backup. If you are the DBA and you don''t keep backups... well then shame on you and you might be screwed.


这篇关于是否可以恢复您已在Sql Server中删除的表的列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆