What is the thoughtful process behind it? SqlDataReader.NextResult Method

J

John Smith

I am using .NetFramework 1.1. and SQL2K.

I am calling a stored procedure and it has multiple results set and some
output parameters.

If the output parameter does not meet certain condition, I am quitting the
stored procedure (SP) by calling "return" statement which results in SP not
returning any result set further.



Since output parameters of the stored procedure is the last result set in a
data reader, my code has to process the result set first and then output
result set.



What is the thoughtful process behind making output parameters of a stored
procedure as the last result set in a datareader?

Thanks,

John
 

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

Top