What are the rules for when a stored procedure will return a result set?
If I add a SELECT statement near the bottom it gets returned as another result set.
But I add a SELECT to the beginning then it does not get returned in the result set.
Under what circumstances will a SELECT be returned as a result set? If it is followed by other statements it seems to not be returned, which ones?