我最近升级到 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 namecompression_delay
.
有谁知道是什么导致了这个问题?提前致谢。
最佳答案
我不确定是什么导致了这个问题的发生,但我最终分离了我的所有数据库,卸载了 SQL Server 并进行了全新安装。之后,所有脚本和 VS 数据比较都正常工作。
关于sql-server - Visual Studio 2015 Update 2 和 Sql Server 2016 架构比较,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36872528/