I want to know when we use SCROLL_LOCK with cursor in SQL Server.
Thank you.
SCROLL_LOCK With Cursor in SQL Server
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Jul 10, 2012, 7:39 AM EDT
However, you can't use this option in combination with the FAST_FOWARD option.
Satyapriya NayakRank #47 · 31.5K reputationPosted Jul 10, 2012, 7:59 AM EDT
SCROLL_LOCKS - Specifies that cursor will lock the rows as they are read into the cursor to ensure that positioned updates or deletes made through the cursor will be succeed.
Please refer the below link
http://www.databasejournal.com/features/mssql/article.php/1439731/Using-SQL-Server-Cursors.htm
Thanks