Messages on Deadlock transaction

  • Thread starter Thread starter Adam Smith
  • Start date Start date
A

Adam Smith

I used to get on exception:

Lock request time out period exceeded.


Now I get:

Lock request time out period exceeded.
The statement has been terminated.

Why the extra "statement" part?

Thanks in advance.

Adam Smith
 
Adam,

Can you give a little more information about what you are doing? Im
assuming you are doing something on a database. The extra part I would
think would be assumed because of the first statement.
 
Well, I solved a deadlock exception problem by using "SET LOCK_TIMEOUT
0"

I think the answer to my most recent question (see comments below):

I used to get on exception:
Am I getting this extra "statement has been terminated" because I'm in a
transaction in that part of code?

Thanks.
 
Back
Top