Home > Database > Mysql Tutorial > SQL Server 2008 数据库还原出错 3203

SQL Server 2008 数据库还原出错 3203

WBOY
Release: 2016-06-07 17:21:43
Original
1140 people have browsed it

SQL Server版本:2008 某个数据库,在SQL Server 2008 r2 下创建 尝试将备份还原的别的机子上,均报如下错误:报错如图,38(已到文件

SQL Server版本:2008  某个数据库,在SQL Server 2008 r2 下创建 尝试将备份还原的别的机子上,均报如下错误: 

报错如图,38(已到文件结尾) (Microsoft SQL Server,错误:3203)

尝试了多次和多种登记连接方式都没有是这样的错误.经过查询资料,发现可以用Dos命令还原数据库,经过尝试成功了.操作步骤如下:

输入Cmd进入Dos界面,

然后输入SqlCmd

再输入:restore database EMR4 from disk='D:\Data\emr4_backup_2012_10_18_000001_5044221.bak' with replace, move 'emr4' To 'D:\data\Emr4.mdf',move 'emr4_log' to 'D:\data\emr4_log.ldf'回车,

最后输入:Go 回车

最后等待提示成功:如图:

然后就OK了.

linux

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template