In a stored procedure , I have 2 temp tables. I created these 2 tables from database dynamically.
First Table #Students(Name NVARCHAR(50))
Second Table #Subjects(Subject NVARCHAR(50))
Rows in #students and #subjects may increase. Kindly suggest me any solution.
I attached a excel file for this


Code AloneRank #488 · 5.1K reputationPosted Sep 17, 2018, 10:05 AM EDT
Packiaraj SanthiyaguRank #659 · 3.6K reputationPosted Sep 16, 2018, 11:04 PM EDT
Nikki60 reputationPosted Sep 17, 2018, 2:10 PM EDT