ms access adp 调用存储过程(SQL Server),但在 2005 年挂起,但在 2000 年正常
这以前从未发生过,apd 不会返回任何错误消息,只是调用存储过程(删除语句),但没有完成,没有错误消息。
这只发生在 SQL Server 2005 上调用 sp 时,在 SQL Server 2000 中使用相同的查询没问题。
这没有任何意义!请帮助!我已经没有想法了,我会尝试任何建议。
提前致谢, 约瑟夫
This never happened before, the apd doesnt return any error messsages, just calls the stored proc (delete statement) but doesn't complete, no error message.
This only happens when calling the sp on SQL Server 2005, it's fine with the same query in SQL Server 2000.
It doesnt make any sense! Please Help!! I've run out of ideas, I will try any suggestion.
Thanks in advance,
Joseph
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您有权访问 SQL Profiler 吗?如果是这样,作为第一步,您可以使用它来查看请求是否实际上已成功发出并且是否符合您的预期。
如果是并且只是需要很长时间才能执行,请查看 sys.dm_os_waiting_tasks 来查看它是否被阻止。
您还可以遵循建议在这个答案中查看执行计划,看看它是否合理。
Do you have access to SQL Profiler? If so as a first step you could use that to see if the request is actually being made successfully and is as you expect.
If it is and is just taking a long time to execute have a look at
sys.dm_os_waiting_tasks
to see if it is blocked.You can also follow the advice in this answer to have a look at the execution plan and see if it seems reasonable.