我尝试使用称为sp_attach_db的系统内置存储过程来附加SQL数据库. EXEC sp_attach_db @dbname = N''全景'',@ filename1 = N''C:\ Import Database \ Panorama.mdf'',@ filename2 = N''C:\ Import Database \ Panorama_log.ldf'' 任何时候运行它,都会给我这个错误设备激活错误.物理文件名" C:\ Import Database \ Panorama.mdf"可能不正确." 有人可以帮我解释一下问题是什么吗?
i tried to attach an SQL database using a system built stored procedure called sp_attach_db EXEC sp_attach_db @dbname = N''Panorama'',@filename1 = N''C:\Import Database\Panorama.mdf'',@filename2 = N''C:\Import Database\Panorama_log.ldf'' any time i run it, it gives me this error "Device activation error. The physical file name ''C:\Import Database\Panorama.mdf'' may be incorrect." can anyone help explain to me what the problem is?
推荐答案错误提示了问题所在.文件C:\ Import Database \ Panorama.mdf不存在.检查该文件在安装SQL Server的计算机上是否确实存在. The error suggests the problem. The file C:\Import Database\Panorama.mdf does not exist. Check whether the file really exists on the computer where your SQL server installed.
更多推荐
附加SQL数据库
发布评论