如何在另一个SQLServer版本上安装sql数据库的备份 [英] How to install backup of sql database on another SQLServer version

查看:103
本文介绍了如何在另一个SQLServer版本上安装sql数据库的备份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!我已经备份了2005年的sql数据库(.bak),现在我想在装有SQL Server 2008的另一台PC上使用该数据库.我该怎么做.

Hello! I have taken a backup of sql database(.bak) of 2005 and now I want to use that database on another PC with SQL Server 2008. How can I do this.

Thanks in advance!

推荐答案

右键单击数据库==>任务==>还原数据库=>来自设备

通过单击右侧的按钮选择备份文件,


填写至数据库"字段以作为数据库名称


单击确定


还原完成后.右键单击数据库==>属性==>兼容性级别

如有必要,将其设置为2005.
Right click on the database ==> tasks ==>restore database => from device

pick the backup file by clicking on the button on the right,


fill the "to database" field to be the name of the database


Click OK


After restore is complete. Right click on the database ==> properties ==> compatibility level

set it to 2005 if needed.


只需将.bak文件复制到新服务器并还原备份.有几种方法可以做到这一点,因此请阅读BOL 还原(Transact-SQL) [ ^ ]开始
Just copy the .bak file to the new server and restore the backup. There are several ways to do this so read the BOL Restore (Transact-SQL)[^] for a start


这篇关于如何在另一个SQLServer版本上安装sql数据库的备份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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