Subject | Re: [IBO] "Declared cursor already exists" error |
---|---|
Author | Helen Borrie |
Post date | 2004-04-05T14:23:07Z |
At 01:42 PM 5/04/2004 +0000, you wrote:
if not prepared then prepare
before it can close. You can catch this exception and do a retry.
If the problem is not a slow network (e.g. a dialup line) then better
reduce the size of your return sets.
Helen
>Hi,Instead of Prepare, do
>
>It's the first time in several years I saw this error : "Declared cursor
>already exists" after doing a prepare of a normal parameterized query.
if not prepared then prepare
>When I later close and reopen the query again, I get the following error :Probably because the query hadn't finished fetching - it has to do this
>"Attempt to reopen an open cursor".
before it can close. You can catch this exception and do a retry.
If the problem is not a slow network (e.g. a dialup line) then better
reduce the size of your return sets.
Helen