Link to home
Start Free TrialLog in
Avatar of programmher
programmher

asked on

Odd Job Behavior

I have a stored procedure that I also execute via scheduled job.  When I execute the stored procedure, all the records update and I get the correct result.

When I schedule this same stored procedure to run via a scheduled job, every 30 minutes, all the records do not update as they do when I just execute the stored procedure in a query analyser window.  Two or thre records at a time will update.

We are usng SQL 2008.  Has anyone else seen this behavior?
Avatar of TempDBA
TempDBA
Flag of India image

This looks weird. Are you sure both the procedures are same only?
And by any chance, are you using SET ROWCOUNT  in the job with the procedure. This might be a reason for it to just update a certain number of records.
ASKER CERTIFIED SOLUTION
Avatar of programmher
programmher

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of programmher
programmher

ASKER

I started from square one with the entire process and recognized logic added by someone else within the SSIS package.
No comments