English 中文(简体)
暂停执行DTEXEC——但只有在从储存程序要求时。
原标题:Timeout on DTEXEC execution - but only when called from stored procedure

The following issue has been bugging me for a while:

我有处理一些间谍的 d。 我把它称作一个储存程序,如下文所示:

SET @v_statement =  DTEXEC /FILE "  + @v_if_ssis_package +  " /SET Package.Variables[User::message_number].Properties[Value];  + CAST(@i_message_number AS VARCHAR(20))
                +   /ConfigFile "  + REPLACE(@v_if_ssis_package,  .dtsx ,  .xml )  +  " 

EXECUTE AS USER =  shell ;  

INSERT INTO #SSISResult
EXEC @v_ssis_returncode = xp_cmdshell @v_statement;

就我所知,壳牌用户已经掌握了能够操作Xp_cmdshell电话的一切。 然而,我在操作我的储存程序时,却 error误如下:

微软(R)服务器(Execute Pack Utility)第10.50.1600.1版(C)微软公司,2010年。 版权所有。 开始:10:12:28 Error: 2012-04-12 10:12:59.11 Code: 0x0000 资料来源:文字说明。 停工时间已经过期。 运行完成之前或服务器尚未答复的未清时间段。

在这方面,我对这一点感到困惑。 如果我只处理一个单独的问题(如下文所示),那就算是罚款。 这里任何关于什么是行走?

EXECUTE AS USER =  shell ;
EXEC xp_cmdshell  dtexec /FILE "C:mypackage.dtsx" /SET Package.Variables[User::message_number].Properties[Value];48644 /ConfigFile "C:mypackage.xml" 

感谢能够就此问题向我提出一些要点的任何人。

最佳回答

或许允许的错误

gues:

∗∗∗∗∗

并且可能改为<条码>EXECUTE ASlogin = ll 而不是用户

问题回答

暂无回答




相关问题
SQL SubQuery getting particular column

I noticed that there were some threads with similar questions, and I did look through them but did not really get a convincing answer. Here s my question: The subquery below returns a Table with 3 ...

难以执行 REGEXP_SUBSTR

I m 查询Oracle 10g。 我有两张表格(样本数据见下文)。 i m 试图提取一些领域

SQL Query Shortcuts

What are some cool SQL shorthands that you know of? For example, something I learned today is you can specify to group by an index: SELECT col1, col2 FROM table GROUP BY 2 This will group by col2

PHP array callback functions for cleaning output

I have an array of output from a database. I am wondering what the cleanest way to filter the values is example array Array ( [0] => Array ( [title] => title 1 ...

OracleParameter and DBNull.Value

we have a table in an Oracle Database which contains a column with the type Char(3 Byte). Now we use a parameterized sql to select some rows with a DBNull.Value and it doesn t work: OracleCommand ...

Running numbers in SQL

I have a SQL-statement like this: SELECT name FROM users WHERE deleted = 0; How can i create a result set with a running number in the first row? So the result would look like this: 1 Name_1 2 ...

How to get SQL queries for each user where env is production

I’m developing an application dedicated to generate statistical reports, I would like that user after saving their stat report they save sql queries too. To do that I wrote the following module: ...

热门标签