In My sql server table There is a 40000 records and i use the FOR LOOP(Looping) for 40000 Records There is a 7 FOR LOOPS inside main FOR LOOP so it take much time when i executing the query in my aspx page on submit button to check the all the records...
How Increase perfomacne give me some suggestion
Nitin SontakkePosted Dec 18, 2016, 10:43 PM
Amit Kumar SinghPosted Dec 18, 2016, 9:58 AM
it's a good practice to use StringBuilder instead of connecting the strings. It can save the memory and improve the performance.
To improve the execution speed of a SQL query, please check my suggestions:
A link of How To Optimize SQL Query may help you:
http://msdn.microsoft.com/en-us/library/ms979196.aspx