Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

JAVA and Cursors in DB2 Stored Procedures

Avatar of PUMASOFT
PUMASOFT asked on
6 Comments1 Solution3161 ViewsLast Modified:
Hi All,

I am a SQL Server DBA by trade - but have been drafted to help our DB2 team on a very time constrained project.

I have noticed that all the stored procedures in DB2 that return data to a Java client use cursors - this is something that I have not come across in SQLServer (cursors are rarely used).

Is is absolutely necessary to have the cursor in order to return data from the DB to the client in this fashion?

This is iSeries DB2 by the way.

Thanks for your help.
Avatar of momi_sabag
momi_sabagFlag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answers