Hi,
I am facing some issues with the following set of commands.
The last 'Select' statement gives the error
"SQL0511N The FOR UPDATE clause is not allowed because the table
specified by
the cursor cannot be modified. SQLSTATE=42829
SQL0511N The FOR UPDATE clause is not allowed because the table
specified by the cursor cannot be modified."
Please explain why is this happening?
create table test1(num INTEGER);
create table test2(num2 INTEGER);
insert into test1 values(1);
insert into test2 values(1);
commit;
select test1.num from test1, test2 where test1.num = test2.num2 for
update with RS;
Thanks
Rahul Babbar