Click here to Skip to main content
15,893,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All


I have a stored procedure which has two select statements.
i want to return the second the select statement result alone.
How to do it in sp itself.





Regards
Jesu
Posted
Comments
Dylan Morley 19-Mar-12 12:56pm    
Then what is the point of the first select statement? If you issue multiple selects, you are creating multiple result sets.
Vivek Krishnamurthy 19-Mar-12 13:57pm    
Your question is not clear ? Can you eloborate ?
ZurdoDev 19-Mar-12 15:30pm    
If you want to do it in the SP itself you need to get rid of the first one. Maybe if you explain more we can understand better.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900