I want to know when we use SCROLL_LOCK with cursor in SQL Server.
Thank you.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Jul 10, 2012, 11:59 AM
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
VulpesPosted Jul 10, 2012, 11:39 AM
However, you can't use this option in combination with the FAST_FOWARD option.