Server: Msg 16957, Level 16, State 4, Line 4
FOR UPDATE cannot be specified on a READ ONLY cursor.
I keep getting this error and yet this cursor format is taken dirctly out of a book
Here is the code sniplet:
BEGIN TRAN
DECLARE c1 cursor KEYSET for
select id, seq from salhistory
WHERE id = 4015
order by sal_date
for update of seq
declare @id int, @seq int , @i int
Using standard edition version 8; permissions correct
I am new to SQLSERV but know oracle
Thanx