Question

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 ?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top