0

I have built a SSIS package to EXEC a SP in SQL 2008. When Run the package from BIDS, it generates all the results which insert into a table (took about 1 min). But when I scheduled to run as an Agent Job in SQL then it took only 2-3 sec with no results produced, table empty, Job history came back with succeeded. Do you know how to debug this situation? Thanks for all help.

4

1 回答 1

0

Try debugging with SQL Profiler. Start a trace, and then kick off the SQL Agent Job, and see what is being executed.

于 2013-05-14T13:05:38.777 回答