MsSql数据库附件文件 [英] MsSql Database Attachment File

查看:83
本文介绍了MsSql数据库附件文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经检查了文件和文件夹的权限。我甚至将文件复制到我已经拥有权限的文件夹中,但仍然无法附加。任何人都可以帮助解决方案吗?我知道这是一个许可问题。我甚至已经将权限更改为每个有访问权限的人,但它无效。我已登录管理员组,甚至以管理员角色运行SSMS,但仍无法附加文件。我是唯一使用这台机器的人,所以任何人都可以给我解决方案。我正在使用ms sql express 2012.



谢谢

I have checked the permissions they are fine of file and folder. I have even copy file to a folder that I already have permission and it still would not attach. Can anyone help with a solution? I know it is a permission problem. I have even changed the permissions to everyone having access and it did not work. I am logged in the admin group and even running SSMS in admin role and still did not able to attach file. I am the only one using this machine, so can anyone give me solution. I am using ms sql express 2012.

Thanks

推荐答案

根据发布的错误消息注释,您正在尝试将在SQL Server 2014中创建的数据库文件附加到SQL Server 2012实例。



您不能这样做。您附加或还原的数据库必须在相同版本的SQL或早期版本中创建。



在SQL 2012中重新创建数据库,或升级目标服务器到SQL 2014.



sql server - 尝试连接数据库失败,因为它是版本782 - Stack Overflow [ ^ ]
Based on the error message posted in the comments, you are trying to attach a database file created in SQL Server 2014 to a SQL Server 2012 instance.

You cannot do that. The database you attach or restore must be created in the same version of SQL, or an earlier version.

Either re-create your database in SQL 2012, or upgrade the destination server to SQL 2014.

sql server - Trying to attach a database fails because it is version 782 - Stack Overflow[^]


这篇关于MsSql数据库附件文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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