how to combine multiple select statements in stored proc
like:
create procedure [somename]
{
select A.id.A.number from a where A.id=102
select B.id from B where where B.id=111
}
how do i get single result set?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pankaj Kumar ChoudharyRank #80 · 24.4K reputationPosted Aug 31, 2015, 6:38 AM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Aug 31, 2015, 3:40 AM EDT
namburi nagendra16 reputationPosted Sep 7, 2015, 4:44 AM EDT