質問

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