小编Dan*_*nch的帖子

Powershell SQL Server更新查询

我正在尝试连接到Microsoft SQL数据库并将更改的字段=的任何记录更新为"x".我能够查询数据库但是当我尝试进行更新时,我收到此错误

Fill:使用"1"参数调用"Fill"的异常:"Timeout expired.在操作完成之前经过了超时时间,或者服务器没有响应."

Fill : Exception calling "Fill" with "1" argument(s): "Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding."
Run Code Online (Sandbox Code Playgroud)

目前有大约4000条记录会更新.该脚本在超时前运行约30秒.我已经尝试增加命令超时并获得相同的结果.

sql-server powershell

5
推荐指数
1
解决办法
4万
查看次数

标签 统计

powershell ×1

sql-server ×1