Hiya people,

I am running ASE 11.5 on NT
I basically have to write this procedure that dynamically declares cursors with different values in the predicates. This I have done by downloading some scripts and basically fooling ASE 11.5.

you do a exec sp_exec_dynsql @cur

However it seems that the cursor is not surviving outside of its first declaration. Are there any tricks to making this cursor global?