I am trying to schedule a job which executes stored procedure but it is failing.
DECLARE @return_value int
EXEC @return_value = [dbo].[sp_WarehouseAttendance_New]
SELECT 'Return Value' = @return_value
If I try to run it manually, I am getting this error.
Image may be NSFW.
Clik here to view.
At the moment I am trying to run EXECUTE storedproc
but it takes long time to complete.
I checked Services.msc and it shows as below.
Image may be NSFW.
Clik here to view.
Kindly let me know how to avoid this.
Thanks,
Ar