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?
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I started from square one with the entire process and recognized logic added by someone else within the SSIS package.
ASKER
No comments
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.