Yeah, I think I know what you mean, but doesn't that return the number of records affected by the stored procedure?
I'm just trying to retreive a recordset (not modify it) so this will just return '0'. At least that is what I have been getting (I think it makes sense)....?
Well, it can return many things, depending on what your sproc does. If all it's doing is running a SELECT statement, then I **think** it would return the number affected by that statement.
I know this to be the case on updates and deletes, but I don't use sprocs to return data, so I can't say for sure.
Maybe someone out there who does use sprocs for this purpose could shed some more light on the subject.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.