Recover from single *.mdf file

soldier1002 2002-06-03 06:42:42
Hello,
Possible to recover database from a single *.mdf file? The *.mdf file does not exist on this databaseserver originally.

I tried to use:
exec sp_attach_single_file_db 'a', 'D:\demodata_Data.mdf'

and it returns that:

Server: Msg 1813, Level 16, State 2, Line 1
Could not open new database 'a'. CREATE DATABASE is aborted.
Device activation error. The physical file name 'C:\Program Files\Microsoft SQL Server\MSSQL\data\demodata_Log.LDF' may be incorrect.

Any suggestions for this?
...全文
113 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
Conductor 2002-06-04
  • 打赏
  • 举报
回复
go http://dbform.com
you should be able to find the solution
soldier1002 2002-06-03
  • 打赏
  • 举报
回复
help
soldier1002 2002-06-03
  • 打赏
  • 举报
回复
?
soldier1002 2002-06-03
  • 打赏
  • 举报
回复
?

62,614

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧