restore database data_db from disk= 'F:\data_db.bak'
数据库的备份文件是SQL2000下备份,我想导入到SQL2005中,系统提示
消息 3154,级别 16,状态 4,第 1 行
备份集中的数据库备份与现有的 'data_db' 数据库不同。
消息 3013,级别 16,状态 1,第 1 行
RESTORE DATABASE 正在异常终止。
请各位大虾指点一下。谢谢
用 SQL Server Management Studio 来恢复
To spell it out:
- rt-clk(右键) on Databases->New Database (any name will do)
- rt-clk(右键) on Databases->Restore Database, select your new database
- From Device->File->Add ...and choose the 2000 backup file
- Check 'Restore' for that backup set
- Check 'Options->Overwrite the existing database'
- OK OK
详细看如下链接,他和你的问题基本上是一样的
if { the file is xx.mdf, xx.ldf, you can use "Attach" UI interface command so easy to import. }
else if { you want to import the detail data, you can use SSIS of SQL Server 2005 to import, mouse right click on one database name in SQL Server 2005, and select "import" command. }
else { ? }
向上应该不兼容的吧
mark...
通过语句可以转换,2楼的兄弟写的不错!