SQL Server Agent Job Running Slow

前端 未结 4 1086
谎友^
谎友^ 2021-02-16 00:01

I am executing a stored procedure using SQL Server Agent Job in SQL Server 2005.

This job was running fast until yesterday. Since yesterday this job is taking more tha

4条回答
  •  抹茶落季
    2021-02-16 00:47

    We have a large proc that runs in 88 seconds in SSMS and 30-45 minutes in SQL Server Agent. I added the dbo. prefix on all the table names and now it runs just as fast as SSMS.

提交回复
热议问题