> i=1;
> exec sql declare C cursor for select name from table where nr=:i;
> i=2;
> exec sql open C;
> Which row will be selected?
Things should evaluate at the "open". I recall that the cursor
declaration is allowed to happen up in the declarations section of the
program or routine (at least on my old Ingres installation)...
- Tom