Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
I am getting an error when I try creating this cursor:
declare cur_JJ cursorfor select od.orderDetailID, od.jobID from tblOrderDetails od where od.orderID = @orderID order by od.orderDetailID for update of od.jobID
The error I am getting is:Server: Msg 16929, Level 16, State 4, Line 323The cursor is READ ONLY.Any ideas?