Iterating through array as input parameter to stored procedure.

A

asgars

Hi,
I am passing an array into a stored procedure. Now i want to iterate
through this array. This can very well be done by For Loop.
But my problem is:
I have to run the SELECT query based on each element in array (i.e. as
many times as the number of elements in the array) and i want to
accumulate all the rows retreived from each query into a cursor so that
i can get it into a Dataset finally.
I am stuck as donno how to proceed in this....
Please can anyone help..?

Or is there a better way to do it??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top