Вопрос

Suppose I have a Transaction running, at the same time I want to execute some set of SQL Queries (SELECT) in another connection.

I can do this using SET LOCKTIMEOUT, but for this I have to give a timeout value. In my case it varies, so I can't use a fixed millisecond.

I also don't want to retry the set of Queries when I get a LockTimeOut Error.

Is there any in-built feature in SQL Server 2008/2012 ?

Нет правильного решения

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top