Home Forums SQL Server 2008 SQL Server 2008 - General SQL Function takes more than 2 hours to return a table.. RE: SQL Function takes more than 2 hours to return a table..
bobie
Valued Member
Points: 73
More actions
February 6, 2013 at 5:31 am
#1584889
Not really looking in detail but
I think it should be a store procedure.
And I quite sure we can eliminated the cursor using temp table and update and set variables in a single query.