Is there any in-built mechanism to QUEUE the SQL Queries, rather than using NOWAIT or SET LOCKTIMEOUT
-
31-03-2022 - |
Pergunta
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 ?
Nenhuma solução correta
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow