PJ_SQL (12/5/2016)
I have a job which runs SQL Script along with function which has started to run slow.But when run the same query in the SSMS, it runs fine.
What could be the reason?
Could be any of a thousand reasons. Some of them could be quite simple. For example, does the job run at a different time of day than when you run it in SSMS?
--Jeff Moden
Change is inevitable... Change for the better is not.