Recompile the 4 sprocs in the report
EXEC sp_recompile 'sp_AgentProductivity';
exec sp_AgentProductivity '20240408','20240414','*','HAL001003'
EXEC sp_recompile 'p_AgentProdByAgtByVendor';
exec p_AgentProdByAgtByVendor '20240408','20240414','*','HAL001001'
EXEC sp_recompile 'p_AgentProdSummary';
exec p_AgentProdByAgtByVendor '20240408','20240414','*','HAL001001'
EXEC sp_recompile 'sp_AgentProductivity_h';
exec sp_AgentProductivity_h '20240408','20240414','*','HAL001001',@RunBy=1

Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article