我使用VS 2012进行了SQL Schema Compare,当我点击Update时出现此错误:
Starting rebuilding table [dbo].[Claims]...
(46,1): SQL72014: .Net SqlClient Data Provider: Msg -2, Level 11, State 0, Line 0 Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
An error occurred while the batch was being executed.
我生成了更改脚本并添加了:
GO
EXEC sp_configure 'remote query timeout', 0 ;
GO
RECONFIGURE ;
GO
然后运行更新的脚本。 I received different errors about DB objects already existing in the target DB.
我查看了VS 2012的选项,但无法找到允许我增加SQL架构更新超时的任何选项。