I have an issue that the same stored procedure is being invoked at exactly the same time with exactly the same paramenters.
The purpose of the stored procedure is to fet
Not sure if SQL Server has it. But in MySQL and in oracle you can get write lock while doing a select using for update syntax.
select * from table for update
Since other threads also need write lock while doing select, they will wait till first thread completes the transaction.