Personally, so do I!!!
But I was working on an app recently and only had one value to get back other than the RetVal. In that case, I decided that it was simpler to just add another parameter and it sort of went from there.
It's become more of a curiosity thing really - is there really any advantage to either approach or is it just down to whatever is easier / quicker / fits in best with company policy?
Anyway, cheers for your view,
s46.
Main Topics
Browse All Topics





by: angelIIIPosted on 2005-07-18 at 06:33:04ID: 14465912
Actually, i prefer the way of returning multiple recordsets from a stored procedure over the return parameters.
I only use stored procedures with return parameters when I need the results in TSQL...
There might be some minor performance gain though when using the output parameters, but that's up to be tested with some sample applications...