My Issue:
i have two student id,based on id i need to return 1 table with student dateils but i should get this table together seperately
id1----sp should return 1 table
id 2...2nd table
I need to use this 2 temp table as a data table in c# .Now my sp returning student details in 1 temp table
idea is like :
SELECT @studentid= select * FROM studenttable
for(i=0;i
create temptable(I) ---------------if 2 id 2 table shud return in 1 sp
}

Navaneeth KrishnanRank #1,172 · 1.5K reputationPosted Aug 27, 2020, 4:42 PM EDT
Sujeet RamanRank #1,329 · 1.3K reputationPosted Aug 27, 2020, 6:15 PM EDT
Hamid KhanRank #424 · 5.9K reputationPosted Aug 28, 2020, 7:59 AM EDT