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