在 SQL Management studio 中更改 CommandTimeout
如何更改 SQL Management Studio 中的 CommandTimeout?
How can I change the CommandTimeout in SQL Management Studio?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
在表设计器上时,您会收到错误:“超时已过期。在操作完成之前超时时间已过,或者服务器未响应。”
删除以下复选框:工具 --> 选项 --> 设计师--> 表和数据库设计器 --> 覆盖表设计器更新的连接字符串超时值
然后超时,指的是“连接字符串执行超时”
因此,如果取消选中它,则必须关闭ssms并启动重新
打开时,在“连接到服务器”对话框中,在连接之前,按选项按钮,转到“连接属性”选项卡,
并确保“执行超时”值设置为零(这意味着无限制)
While on the table designer, you get error : "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."
Remove check box under : Tools --> Options --> Designers --> Table and Database Designers --> Override connection string time-out value for table designer updates
Then timeout, refers to "connection string execution timeout"
So if you uncheck it, you have to close ssms and launch it again
When reopening, at "connect to server" dialouge, before connecting, press options button, go to "connection properties" tab,
and make sure "execution time-out" value set to zero (it means unlimited)
在查询窗格中右键单击,选择
查询选项...
,然后在“执行”->“常规”部分(首次打开时的默认设置)中出现执行超时
代码 > 设置。Right click in the query pane, select
Query Options...
and in the Execution->General section (the default when you first open it) there is anExecution time-out
setting.在Management Studio中更改命令执行超时:
单击“工具”->“ 选项
从左侧树中选择查询执行,并在“执行超时”控件中输入命令超时。
更改服务器中的命令超时:
在对象浏览器树中右键单击给您超时的服务器,然后从上下文菜单中选择“属性”。
现在,在“服务器属性 -.....”对话框中,单击“选择页面”列表(左侧)中的“连接”页面。 在右侧您将获得属性,
您可以在向上/向下控制中设置值。
Changing Command Execute Timeout in Management Studio:
Click on Tools -> Options
Select Query Execution from tree on left side and enter command timeout in "Execute Timeout" control.
Changing Command Timeout in Server:
In the object browser tree right click on the server which give you timeout and select "Properties" from context menu.
Now in "Server Properties -....." dialog click on "Connections" page in "Select a Page" list (on left side). On the right side you will get property
you can set the value in up/down control.
如果您在表设计器上遇到超时,请更改工具 --> 下的“事务超时时间”值。 选项 --> 设计师--> 表和数据库设计器
这将消除以下消息:“超时已过期。在操作完成之前超时时间已过,或者服务器没有响应。”
If you are getting a timeout while on the table designer, change the "Transaction time-out after" value under Tools --> Options --> Designers --> Table and Database Designers
This will get rid of this message: "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."