Subject Declared cursor already exists
Author adam_stewart_99
I am selecting data using IBQuery and at a certain point I need to
get additional data from a different Query, however when I run this
additional Query I get this error

"Dynamic SQL Error SQL error code = -502 Declared cursor already
exists"

Strangely through this doesn't occur every time I run the query.

Any help gratefully received

Regards

Adam