Deadlock detected

Error constant SQLE_DEADLOCK
ODBC 2 State 40001
ODBC 3 State 40001
Severity 13
SQLCODE –306
SQLSTATE 40001
Sybase error code 1205
Probable cause

You attempted to read or write a row and it is locked by another user. Also, the other user is blocked directly or indirectly on your own transaction. This is a deadlock situation and your transaction has been chosen as the one to rollback.