Hi. I am using DB2 v9.1 fixpack 2.
I was wondering if there is a way to use the with hold option when using the prepare statement. Or, is there another way that I can do what I need to?
I have a procedure that dynamically creates and drops a table. So, I am using a prepare statement to get all the values from one of the columns. I am then calling a procedure for each returned row. However, the procedure that I am calling has a commit. This is causing my cursor to close. Is there any way that I can keep the cursor opened?
Thanks