将SQL Server 2016数据库附加到SQL Server 2012 [英] Attach SQL server 2016 database to SQL server 2012

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

问题描述

我正在尝试将数据库从SQL Server 2016复制到SQL Server 2012.我收到了版本兼容性错误。



我尝试了什么:



我甚至尝试过这个命令:

I am trying to copy the database from SQL Server 2016 to SQL Server 2012. I am getting the version compatibility error.

What I have tried:

I even tried the command:

ALTER DATABASE VJ_DATABASE
SET COMPATIBILITY_LEVEL = 110;   
GO





但我仍然得到同样的错误。任何人都可以帮助我吗?



But still I am getting same error. Can anyone please help me?

推荐答案

你不能:它是一个不同的格式数据库,2012年不想冒险破坏数据库,所以它不能由更高版本打开。



您可以备份它并尝试将其恢复到2012年作为副本,但您可以直接使用更高版本的文件早期版本的应用程序。
You can't: it's a different format database, and 2012 doesn't want to risk damaging the database so it can't be opened by the higher version.

You can back it up and try restoring it into 2012 as a copy, but you can;t directly use the later version file on an earlier version app.


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

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