Visual Studio 数据比较 - 查询完成但有错误
我正在尝试使用 VS 中的数据比较功能来更新数据库。
一旦我设置了要更新的表,我就可以使用写入更新,我的数据库就会更新。
但是,当我导出到 .sql 文件并尝试从 SSMS 运行它时,我在 消息窗口,我没有结果窗口。底部显示查询已完成,但有错误。
我如何查看错误和/或我做错了什么?
I am trying to update a db using the Data Compare functionality in VS.
Once I setup which tables I want to update I can use Write Updates and my DB is updated.
However, when I Export to a .sql file and try to run it from SSMS I don't get anything in the
Messages window and I don't have a Results window. At the bottom it says Query completed with errors.
How do I view the errors and/or am I doing something wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来生成的文件太大了。由于某种原因,SSMS 被它阻塞了,
运行
sqlcmd -S (local) -i C:\DataUpdateFile.sql
并且工作正常。It appears the generated file was too big. SSMS was choking on it for some reason
Ran
sqlcmd -S (local) -i C:\DataUpdateFile.sql
and it worked fine.