ASP.NET Forums/Data Access/SQL Server, SQL Server Express, and SQL Compact Edition/How to enhance query performance when loop within temp table ?/How to enhance query performance when loop within temp table ?