【发布时间】:2019-08-09 02:46:45
【问题描述】:
我们在 Azure 自动化中创建了一个运行手册,它在测试窗格中成功,但在计划时失败。这是一个 PowerShell 脚本
在存储过程中包含命令超时
存储过程应该删除索引,预计它也会在调度时成功。我们收到此错误:
Exception calling "ExecuteNonQuery" with "0" argument(s): "Execution Timeout Expired. The timeout period elapsed prior
to completion of the operation or the server is not responding."
At SQL_Agent_SprocJob:26 char:26
+
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : SqlException
【问题讨论】:
-
编辑了我的答案。请检查 DTU 放大。
标签: azure stored-procedures automation