我正在尝试使用SSMS在SQL Server 2005中添加一个包含大量数据的表.
所以我浏览到表格,选择修改,然后添加新列.然后,当我按下保存时,我收到以下警告:
Saving Definition Changes to tables with large amounts of data could take a considerable amount of time. While changes are being saved,table data will not be accessible
我很好,数据库处于脱机状态,我一直都在这个世界上,所以我按是.
但是,操作然后在大约30秒后进行超时,并显示以下消息:
Unable to modify table. Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
然后,当我按OK时:
User canceled out of save dialog (MS Visual Database Tools)
我不明白.我在SSMS连接对话框和工具 – >下都将执行超时设置为0(无限).选项 – >查询执行 – > SQL Server.如果它被忽略,设置执行超时的重点是什么?
有谁知道这里使用的超时值,以及如何设置它?
解决方法
听起来像超时设置.因此,您的SSMS认为它需要太长时间并取消连接. SQL服务器角色回来了.但是有帮助.你不是第一个遇到这个问题的人.
见here.
对于每个不想点击链接的人.以下是获胜的答案:
After hitting the same error,I stumbled upon the corrent setting.
In the Management Studio,from the Tools menu,select Options,then click “Designers”. There is an option called “Override connection string time-out value for table designer updates:” In the “Transaction time-out after:” box,you will see the magic 30 seconds
(编辑:李大同)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|