惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
Recent Announcements
Recent Announcements
A
About on SuperTechFans
U
Unit 42
MyScale Blog
MyScale Blog
J
Java Code Geeks
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
D
Docker
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 司徒正美
量子位
月光博客
月光博客
G
Google Developers Blog
V
V2EX
博客园 - 聂微东
宝玉的分享
宝玉的分享
IT之家
IT之家
Vercel News
Vercel News

博客园 - 杨发达

Tracking User Activity export to csv + excel 打开乱码的问题 iis asp.net window 认证中的问题。 - 杨发达 在XML文件中有些字符是被禁止使用的 在ASP.NET应用程序中使用身份模拟(Impersonation) - 杨发达 - 博客园 在ASP.NET应用程序中使用身份模拟+2.0 Snap 链接预览的应用 sql2005 fulltext search : 根据menu的配置项,执行定义的event How to generate an RSS feed for your web site using ASP.NET - 杨发达 .net Application Localization的db 实现 如何制作Mht 文件 + dotnet Composite UI Application Block Study (前) 开源的SSO方案--SourceID.NET OLAP 资源 使用CAB 建立Like Dnn 的桌面应用系统框架- window form application framework olap 常用的前台 Control Javascript: 设置textbox 为readonly . install window service
sqlserver+job+ 超时 - 杨发达 - 博客园
杨发达 · 2008-11-26 · via 博客园 - 杨发达

Error message when you execute a linked server query in SQL Server: "Timeout Expired"

http://support.microsoft.com/kb/314530

有一个任务需要取 link server 中的table , 执行过程出现了

Execution terminated by the provider because a resource limit was reached 类似的错误。

确定是timeout 问题。

To work around this, you can reconfigure the timeout setting.

Based on which type of error you encounter, you can reconfigure the timeout setting as follows:

  • Set the remote login timeout to 30 seconds, by using this code:

    sp_configure 'remote login timeout', 30
        go
        reconfigure with override
        go
        

  • Set the remote query timeout to 0 (infinite wait), by using this code:

    sp_configure 'remote query timeout', 0
        go
        reconfigure with override
        go
        

已经ok。