$DeadlockReason

$DeadlockReason

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

$DeadlockReason

Indicates the reason that a deadlock condition occurred.

Syntax

$deadlockreason

Return Value

A character string. Cannot be reset by an application program.

Description

$DeadlockReason contains one of the following reason codes for the current deadlock condition:

CodeReason
0transaction completed normally
1transaction terminated due to time out
2transaction terminated due to transaction recovery
3not in use
4attempt to do an update in a read transaction
5transaction terminated as a result of deadlock
6lock request outside a transaction (warning only)
7problem converting operating system lock (transaction terminated)
8no free file table entry (transaction terminated)

See Also

SET DOCUMENT FORMAT

System Variables

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish