sql server中通过查询分析器实现数据库的备份与恢复方法分享,需要备份或还原数据库的朋友可以参考下
sql server的备份与恢复(查询分析器)
查询分析器:
命令:
1:备份数据库命令:
backup database whdb1(要备份的数据库名) to disk='d:/zwh.bak';
2:恢复数据库命令:
restore database whdb1(要恢复的数据库名) from disk='d:/zwh.bak';
3: 备份表的命令:
select * into share_20090605(备份的数据) from share(表名);
作者 庄伟鸿
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn