Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/elixir/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql server SSIS包OLEDB源超时属性不工作_Sql Server_Sql Server 2008_Sql Server 2008 R2_Ssis 2012_Ssis 2008 - Fatal编程技术网

Sql server SSIS包OLEDB源超时属性不工作

Sql server SSIS包OLEDB源超时属性不工作,sql-server,sql-server-2008,sql-server-2008-r2,ssis-2012,ssis-2008,Sql Server,Sql Server 2008,Sql Server 2008 R2,Ssis 2012,Ssis 2008,我试图在SSIS包中的OLEDB源上使用timeout属性,我将timeout属性设置为60秒,我知道我的源查询需要1小时才能完成。设置超时属性后,我执行了包,但包/OLEDB源没有停止执行。超时是一个连接属性。。。也就是说,如果客户端无法通过60秒连接到服务器,则会抛出错误如果确实要强制超时,则可以使用脚本组件作为数据源。它肯定会在60秒后过期。但是OLEDB上的timeout属性是否会执行相同的操作?我相信很多人都面临着这个问题,他们可能会想出一个最好的解决办法。

我试图在SSIS包中的OLEDB源上使用timeout属性,我将timeout属性设置为60秒,我知道我的源查询需要1小时才能完成。设置超时属性后,我执行了包,但包/OLEDB源没有停止执行。

超时是一个连接属性。。。也就是说,如果客户端无法通过60秒连接到服务器,则会抛出错误

如果确实要强制超时,则可以使用脚本组件作为数据源。它肯定会在60秒后过期。但是OLEDB上的timeout属性是否会执行相同的操作?我相信很多人都面临着这个问题,他们可能会想出一个最好的解决办法。