sunny_zhao0127
作者sunny_zhao0127·2013-11-26 10:18
数据库管理员·C.H.Robinsion

sqlcode: -952

字数 1249阅读 1602评论 0赞 0
 db2 ? sql952


SQL0952N  Processing was cancelled due to an interrupt.

Explanation:

The user may have pressed the interrupt key sequence.

The statement processing is terminated. Some changes may have been
applied to the database, but not committed, before termination occurred.

You might also receive this error if Call Level Interface (CLI) issues
an interrupt because a query timed out. For example: if an application
uses the SQLSetStmtAttr() function to configure the
SQL_ATTR_QUERY_TIMEOUT statement attribute to a non-zero value, then if
a SQL statement or XQuery expression does not complete in the specified
amount of time, CLI will issue an interrupt to cancel the execution and
return to the application.

Federated system users: this situation can also be detected by the data
source.

User response:

Continue the application.

If installing the sample database, drop it and install the sample
database again.

If you want to prevent CLI from issuing an interrupt when a query times
out, you can disable query timeout behavior by setting
QUERYTIMEOUTINTERVAL=0 in the db2cli.ini file. Disabling query timeout
behavior will allow queries run to completion, unless there is a
deadlock or lock wait timeout value set at the server.

sqlcode: -952

sqlstate: 57014

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

0

添加新评论0 条评论

Ctrl+Enter 发表

作者其他文章

  • innodb log sequence error
    评论 0 · 赞 0
  • DB2 ERROR
    评论 1 · 赞 0
  • app
    评论 0 · 赞 0
  • db2level
    评论 0 · 赞 0
  • puppet
    评论 0 · 赞 0
  • 相关文章

    相关问题

    相关资料

    X社区推广