sql-server - Visual Studio 2015 Update 2 和 Sql Server 2016 架构比较

标签 sql-server visual-studio-2015 sql-server-2016 schema-compare

我最近升级到 Visual Studio 2015 Update 2 并且一切顺利,但是现在当我尝试从数据项目对 Sql Server 2016 数据库进行架构比较时,它表明我需要在数据库中创建所有对象。在此更新之前,这工作正常。

比较初始化时出现以下错误:

An error occurred while attempting to reverse engineer elements of type Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlDatabaseCredential: Batch Command during reverse engineer failed with Error Code: -2146232060 Line Number: 2267 Error Message: Invalid column name compression_delay. Invalid column name compression_delay.



有谁知道是什么导致了这个问题?提前致谢。

最佳答案

我不确定是什么导致了这个问题的发生,但我最终分离了我的所有数据库,卸载了 SQL Server 并进行了全新安装。之后,所有脚本和 VS 数据比较都正常工作。

关于sql-server - Visual Studio 2015 Update 2 和 Sql Server 2016 架构比较,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36872528/

相关文章:

c++ - 强制在 Visual Studio 2015 调试器中加载不匹配的符号

visual-studio-2015 - 用于 html 上下文文件的上下文菜单中的 VS2015 扩展

sql-server - SQL Server 2016 - 计算剩余库存数量

SQL Server 2016 GROUP BY + HAVING 只能通过 JOIN 获取不同记录

c# - 在未安装 SSMS 的服务器上使用 SqlPackage.exe

Python - 如何使用 ' in 值发出 SQL insert into 语句

php - PDO错误: could not find driver (SQL Server connect)

sql - 将 exec sql 的结果存储在临时表中

visual-studio-2015 - 如何为 UWP 应用程序启用 "Application Timeline"?

sql-server - 即席 SQL 查询中 @@ProcId 的返回值是什么?