Hello all,
I have a long running job that I kick off from SQL Agent. The job opens a cursor (6 rows only) and performs its work on one row at a time, calling a set of stored procedures.
When fired from SQL Query Analyzer the job each row in the cursor takes 8 minutes to process, or, 48 minutes for the 6 rows returned in the cursor.
When fired from SQL Agent as a job, this takes 6 hours to run.
Whats causing this delay?
Carlos De Matos
I have a long running job that I kick off from SQL Agent. The job opens a cursor (6 rows only) and performs its work on one row at a time, calling a set of stored procedures.
When fired from SQL Query Analyzer the job each row in the cursor takes 8 minutes to process, or, 48 minutes for the 6 rows returned in the cursor.
When fired from SQL Agent as a job, this takes 6 hours to run.
Whats causing this delay?
Carlos De Matos