Appreciate any advice!!
Oct 2, 2003, 4:12 AM
New User (1 post)
Oct 2, 2003, 4:12 AM
Post #1 of 3
Views: 1136
Appreciate any advice!!
Oct 2, 2003, 9:49 AM
Veteran (17240 posts)
Oct 2, 2003, 9:49 AM
Post #2 of 3
Views: 1113
Depending on the STEPS you have in the scheduled task, and also the settings in the SQL Server Agent (like timeout settings, don't know where they are located in SQL Server 2003), it may take longer to run than in query analyzer.
I'd double check your STEPS and make sure that the SQL Statements used in thos STEPS are optimized.
========================================
Buh Bye!
Cheers,
Me
I'd double check your STEPS and make sure that the SQL Statements used in thos STEPS are optimized.
========================================
Buh Bye!
Cheers,
Me
Oct 2, 2003, 10:05 AM
Administrator (9386 posts)
Oct 2, 2003, 10:05 AM
Post #3 of 3
Views: 1109
Perhaps query analyzer is just analyzing the query and not fetching the result set? Otherwise, perhaps your script is doing something else that takes that long, try running the script manually and see what it is doing.
Cheers,
Alex
--
Gossamer Threads Inc.
Cheers,
Alex
--
Gossamer Threads Inc.


SQL scheduled job takes hours to run, Query analyser takes 3 mins to run same script