raminriahi
Programmer
I'm using a cursor in a stored procedure which has been defined as
declare <cursor_name> cursor
for select <f1>,...,<fn>
from <table_name>
where <condition>
for update
I tried several options in declare cursor statement(like for browse, ...). But it keeps giving me Err# 16957(for update can not be specified in a Read-Only cursor)
Please help me if you can!
thanks in advanced
Ramin
P.S: I'm using a linkedserver connection to the host-server of the table(subject of above cursor). does it make any difference?
declare <cursor_name> cursor
for select <f1>,...,<fn>
from <table_name>
where <condition>
for update
I tried several options in declare cursor statement(like for browse, ...). But it keeps giving me Err# 16957(for update can not be specified in a Read-Only cursor)
Please help me if you can!
thanks in advanced
Ramin
P.S: I'm using a linkedserver connection to the host-server of the table(subject of above cursor). does it make any difference?