October 24, 2007 at 9:18 pm
I've got a query/stored procedure that has to run under SQL Agent every night. The problem is, I'm getting the following warning:
Warning: Null value is eliminated by an aggregate or other SET operation.
This warning automatically kicks off the failure option on the job. I need to fake out SQL Agent so it doesn't think this is a failure. Any ideas on what I can do either inside the stored procedure or otherwise that'll keep SQL Agent from failing the job?
Thanks,
Ariadne
October 24, 2007 at 10:32 pm
My SQL Agent doesn't think it's an error.
Many job steps generate this or other messages, they are accessible via Job History, but it does not make the steps (and jobs) to fail.
You should find out what makes your job to fail.
You can switch this message off with
SET ANSI_WARNINGS OFF
But it does not eliminate all messages.
So, if you fix it this way one day this problem may reappear again.
_____________
Code for TallyGenerator
October 24, 2007 at 11:23 pm
I think Sergiy is right. Try to follow the steps and implement the agent.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply